|
@@ -1326,7 +1326,6 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
|
|
|
totalOriginPriceMap.get(courseType).subtract(totalOrignPriceMap.get(courseType))));
|
|
|
}
|
|
|
}
|
|
|
- totalCourseScheduleStudentPayments.addAll(courseScheduleStudentPayments);
|
|
|
}
|
|
|
}else {
|
|
|
for (CourseSchedule courseSchedule : courseSchedules) {
|
|
@@ -1352,6 +1351,7 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
|
|
|
}
|
|
|
}
|
|
|
if(totalCourseScheduleStudentPayments.size() > 0){
|
|
|
+ totalCourseScheduleStudentPayments.addAll(courseScheduleStudentPayments);
|
|
|
courseScheduleStudentPaymentService.batchInsert(totalCourseScheduleStudentPayments);
|
|
|
studentService.updateStudentServiceTag(studentId, null, YesOrNoEnum.YES.getCode());
|
|
|
}
|