|
@@ -1120,12 +1120,12 @@ public class StudentPaymentOrderServiceImpl extends BaseServiceImpl<Long, Studen
|
|
|
} else {
|
|
|
studentPaymentOrder.setPaymentChannel("ADAPAY");
|
|
|
}
|
|
|
- studentPaymentOrder.setVersion(1);
|
|
|
+ studentPaymentOrder.setVersion(0);
|
|
|
studentPaymentOrder.setOrganId(student.getOrganId());
|
|
|
studentPaymentOrder.setRoutingOrganId(student.getOrganId());
|
|
|
studentPaymentOrder.setTenantId(student.getTenantId());
|
|
|
studentPaymentOrderService.insert(studentPaymentOrder);
|
|
|
- studentPaymentOrder.setVersion(0);
|
|
|
+ studentPaymentOrder.setVersion(studentPaymentOrder.getVersion() +1);
|
|
|
|
|
|
// 余额支付
|
|
|
BigDecimal amount = studentPaymentOrder.getActualAmount();
|