|
@@ -1392,7 +1392,7 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
|
|
|
|
|
|
courseScheduleTeacherSalaryService.updateVipGroupCourseTeacherSalary(vipGroupId.intValue(),-1,vipGroup.getStatus());
|
|
|
|
|
|
- sysUserCashAccountService.updateCourseBalance(studentId, surplusCourseFee);
|
|
|
+ sysUserCashAccountService.appendCourseBalance(studentId, surplusCourseFee);
|
|
|
classStudentMapperByUserIdAndClassGroupId.setStatus(ClassGroupStudentStatusEnum.QUIT_SCHOOL);
|
|
|
classGroupStudentMapperDao.update(classStudentMapperByUserIdAndClassGroupId);
|
|
|
|
|
@@ -1515,7 +1515,7 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
|
|
|
if(!CollectionUtils.isEmpty(courseScheduleStudentPaymentList)){
|
|
|
courseScheduleStudentPaymentDao.batchInsert(courseScheduleStudentPaymentList);
|
|
|
}
|
|
|
- sysUserCashAccountService.updateCourseBalance(studentRecoverInfo.getUserId(), surplusCourseFee.negate());
|
|
|
+ sysUserCashAccountService.appendCourseBalance(studentRecoverInfo.getUserId(), surplusCourseFee.negate());
|
|
|
classStudentMapperByUserIdAndClassGroupId.setStatus(ClassGroupStudentStatusEnum.NORMAL);
|
|
|
classGroupStudentMapperDao.update(classStudentMapperByUserIdAndClassGroupId);
|
|
|
studentPauseInfo.setDelFlag(1);
|