|
@@ -3784,7 +3784,7 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
|
|
throw new BizException("请填写班级信息");
|
|
throw new BizException("请填写班级信息");
|
|
}
|
|
}
|
|
for (Integer classGroupId : classGroupIds) {
|
|
for (Integer classGroupId : classGroupIds) {
|
|
- List<CourseSchedule> courseSchedules = courseScheduleService.classGroupNotStartMergeCourseReplace(classGroupId.longValue());
|
|
|
|
|
|
+ List<CourseSchedule> courseSchedules = courseScheduleDao.findCoursesByClassGroupId(classGroupId,CourseStatusEnum.NOT_START);
|
|
if(courseSchedules != null && courseSchedules.size() > 0){
|
|
if(courseSchedules != null && courseSchedules.size() > 0){
|
|
throw new BizException("所选班级不能有未开始的临时合并课程");
|
|
throw new BizException("所选班级不能有未开始的临时合并课程");
|
|
}
|
|
}
|