Browse Source

fix:version

liujunchi 2 years ago
parent
commit
c492bb126a

+ 1 - 1
mec-biz/src/main/java/com/ym/mec/biz/service/impl/StudentPaymentOrderServiceImpl.java

@@ -1125,7 +1125,7 @@ public class StudentPaymentOrderServiceImpl extends BaseServiceImpl<Long, Studen
         studentPaymentOrder.setRoutingOrganId(student.getOrganId());
         studentPaymentOrder.setTenantId(student.getTenantId());
         studentPaymentOrderService.insert(studentPaymentOrder);
-        studentPaymentOrder.setVersion(studentPaymentOrder.getVersion() +1);
+        studentPaymentOrder.setVersion(studentPaymentOrder.getVersion());
 
         // 余额支付
         BigDecimal amount = studentPaymentOrder.getActualAmount();