|
@@ -3252,7 +3252,7 @@ public class CourseScheduleServiceImpl extends BaseServiceImpl<Long, CourseSched
|
|
|
if(newCourseSchedule.getStartClassTime().compareTo(date)<0){
|
|
|
throw new BizException("调整无效,不能调整至已结束");
|
|
|
}
|
|
|
- if (newCourseSchedule.getType() == CourseScheduleType.PRACTICE) {
|
|
|
+ /*if (newCourseSchedule.getType() == CourseScheduleType.PRACTICE) {
|
|
|
PracticeGroup practiceGroup = practiceGroupDao.get(Long.parseLong(newCourseSchedule.getMusicGroupId()));
|
|
|
if (practiceGroup.getType() != TRIAL) {
|
|
|
if (DateUtil.minutesBetween(newCourseSchedule.getStartClassTime(), practiceGroup.getCoursesStartDate()) > 0) {
|
|
@@ -3262,7 +3262,7 @@ public class CourseScheduleServiceImpl extends BaseServiceImpl<Long, CourseSched
|
|
|
throw new BizException("调整失败: 截止时间超过课程有效期");
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
+ }*/
|
|
|
}
|
|
|
|
|
|
Set<String> musicGroupIds = oldCourseScheduleList.stream().filter(c -> MUSIC.equals(c.getGroupType())).map(CourseSchedule::getMusicGroupId).collect(Collectors.toSet());
|