|
@@ -776,6 +776,10 @@ public class CourseScheduleServiceImpl extends BaseServiceImpl<Long, CourseSched
|
|
|
throw new BizException(courseCheckInfo(newCourseSchedule, existCourseSchedule, existCourseScheduleIds, 1));
|
|
|
}
|
|
|
|
|
|
+ if (!existCourseSchedule.getGroupType().equals(newCourseSchedule.getGroupType()) || !existCourseSchedule.getMusicGroupId().equals(newCourseSchedule.getMusicGroupId())) {
|
|
|
+ throw new BizException(courseCheckInfo(newCourseSchedule, existCourseSchedule, existCourseScheduleIds, 1));
|
|
|
+ }
|
|
|
+
|
|
|
if (isTeacherRepeat) {
|
|
|
courseScheduleIds.add(existCourseSchedule.getId());
|
|
|
}
|