|
@@ -554,7 +554,7 @@ public class MusicGroupPaymentCalenderServiceImpl extends BaseServiceImpl<Long,
|
|
|
//获取默认的学员缴费详情
|
|
|
List<Integer> studentIdList = JSON.parseArray(adjust.getStudentIds(), Integer.class);
|
|
|
//获取欠费学员列表
|
|
|
- List<Integer> noPaymentUserIds = musicGroupPaymentCalenderDetailDao.queryNoPaymentUserIds(musicGroup.getId(), studentIdList);
|
|
|
+ List<Integer> noPaymentUserIds = musicGroupPaymentCalenderDetailDao.queryNoPaymentUserIds(musicGroup.getId(), studentIdList,null);
|
|
|
if (noPaymentUserIds.size() > 0) {
|
|
|
throw new BizException("操作失败:有欠费的学员不允许创建缴费");
|
|
|
}
|
|
@@ -963,7 +963,7 @@ public class MusicGroupPaymentCalenderServiceImpl extends BaseServiceImpl<Long,
|
|
|
}
|
|
|
List<Integer> userIds = Arrays.stream(calender.getStudentIds().split(",")).mapToInt(Integer::valueOf).boxed().collect(Collectors.toList());
|
|
|
//获取欠费学员列表
|
|
|
- List<Integer> noPaymentUserIds = musicGroupPaymentCalenderDetailDao.queryNoPaymentUserIds(calender.getMusicGroupId(), userIds);
|
|
|
+ List<Integer> noPaymentUserIds = musicGroupPaymentCalenderDetailDao.queryNoPaymentUserIds(calender.getMusicGroupId(), userIds,null);
|
|
|
if (noPaymentUserIds.size() > 0) {
|
|
|
throw new BizException("{} 有欠费的学员不允许创建缴费", musicGroup.getName());
|
|
|
}
|
|
@@ -1012,7 +1012,7 @@ public class MusicGroupPaymentCalenderServiceImpl extends BaseServiceImpl<Long,
|
|
|
List<Map> classGroupStudents = JSON.parseArray(adjust.getClassGroupStudents(), Map.class);
|
|
|
for (Map<Integer, String> classGroupStudent : classGroupStudents) {
|
|
|
Integer classGroupId = classGroupStudent.keySet().iterator().next();
|
|
|
- studentRegistrationService.insertStudent(classGroupStudent.get(classGroupId), musicGroupDao.findByClassGroupId(classGroupId).getId(), musicGroup.getId(), collect);
|
|
|
+ studentRegistrationService.insertStudent(classGroupStudent.get(classGroupId), musicGroupDao.findByClassGroupId(classGroupId).getId(), musicGroup.getId(), collect,null);
|
|
|
}
|
|
|
//删除和解冻班级,课程信息
|
|
|
List<Integer> studentIds = JSON.parseArray(adjust.getStudentIds(), Integer.class);
|