|
@@ -176,13 +176,6 @@ public class GroupClassServiceImpl implements GroupClassService {
|
|
|
sysUserCashAccountLog.setComment("后台关闭网管课");
|
|
|
sysUserCashAccountLogDao.insert(sysUserCashAccountLog);
|
|
|
}
|
|
|
- ClassGroup classGroup = classGroupDao.findByMusicGroupAndType(groupId.toString(),"PRACTICE");
|
|
|
- if(Objects.nonNull(classGroup)){
|
|
|
- List<CourseScheduleStudentPayment> payments = courseScheduleStudentPaymentDao.findNotStartCourseStudentPaymentsWithClassGroupAndStudent(classGroup.getId(), practiceGroup.getStudentId());
|
|
|
- if(!CollectionUtils.isEmpty(payments)){
|
|
|
- activityUserMapperService.subCourseConvert(payments,practiceGroup.getStudentId(),practiceGroup.getSingleClassMinutes(),null);
|
|
|
- }
|
|
|
- }
|
|
|
cleanGroupInfo(groupId.toString(), GroupType.PRACTICE);
|
|
|
practiceGroup.setMemo("后台关闭网管课");
|
|
|
practiceGroup.setGroupStatus(GroupStatusEnum.CANCEL);
|