|
|
@@ -2442,6 +2442,8 @@ public class PracticeGroupServiceImpl extends BaseServiceImpl<Long, PracticeGrou
|
|
|
studentPaymentOrder.setMemo(operatorInfo + ",教务代买");
|
|
|
}
|
|
|
studentPaymentOrderService.insert(studentPaymentOrder);
|
|
|
+ //更新sys_coupon_code表的订单编号
|
|
|
+ sysCouponCodeService.updatePaymentOrderId(studentPaymentOrder.getId(), studentPaymentOrder.getCouponCodeId());
|
|
|
|
|
|
//创建班级老师关联记录
|
|
|
ClassGroupTeacherMapper classGroupTeacherMapper = new ClassGroupTeacherMapper();
|
|
|
@@ -3038,6 +3040,8 @@ public class PracticeGroupServiceImpl extends BaseServiceImpl<Long, PracticeGrou
|
|
|
studentPaymentOrder.setMemo(operatorInfo + ",教务代买");
|
|
|
}
|
|
|
studentPaymentOrderService.insert(studentPaymentOrder);
|
|
|
+ //更新sys_coupon_code表的订单编号
|
|
|
+ sysCouponCodeService.updatePaymentOrderId(studentPaymentOrder.getId(), studentPaymentOrder.getCouponCodeId());
|
|
|
|
|
|
BigDecimal balance = BigDecimal.ZERO;
|
|
|
if (practiceGroupBuyParams.isUseBalancePayment() || studentPaymentOrder.getExpectAmount().doubleValue() == 0) {
|
|
|
@@ -4250,6 +4254,8 @@ public class PracticeGroupServiceImpl extends BaseServiceImpl<Long, PracticeGrou
|
|
|
studentPaymentOrder.setActivityId(vipGroupActivityId == null ? "" : vipGroupActivityId.toString());
|
|
|
studentPaymentOrder.setActivityBuyNum(practiceGroup.getAllCourseNum());
|
|
|
studentPaymentOrderDao.insert(studentPaymentOrder);
|
|
|
+ //更新sys_coupon_code表的订单编号
|
|
|
+ sysCouponCodeService.updatePaymentOrderId(studentPaymentOrder.getId(), studentPaymentOrder.getCouponCodeId());
|
|
|
|
|
|
BigDecimal amount = studentPaymentOrder.getActualAmount();
|
|
|
BigDecimal balance = BigDecimal.ZERO;
|
|
|
@@ -4466,6 +4472,8 @@ public class PracticeGroupServiceImpl extends BaseServiceImpl<Long, PracticeGrou
|
|
|
studentPaymentOrder.setActivityId(activityId.toString());
|
|
|
studentPaymentOrder.setActivityBuyNum(1);
|
|
|
studentPaymentOrderService.insert(studentPaymentOrder);
|
|
|
+ //更新sys_coupon_code表的订单编号
|
|
|
+ sysCouponCodeService.updatePaymentOrderId(studentPaymentOrder.getId(), studentPaymentOrder.getCouponCodeId());
|
|
|
|
|
|
studentPaymentOrder.setVersion(0);
|
|
|
if (activityFee.compareTo(BigDecimal.ZERO) == 0) {
|