|
@@ -3033,8 +3033,8 @@ public class CourseScheduleServiceImpl extends BaseServiceImpl<Long, CourseSched
|
|
|
newCourseSchedule.setGroupType(oldCourseSchedule.getGroupType());
|
|
|
}
|
|
|
|
|
|
- if(CourseStatusEnum.OVER.equals(oldCourseSchedule.getStatus())&&newCourseSchedule.getStartClassTime().compareTo(date)<0){
|
|
|
- throw new BizException("调整无效,已结束不能调整至已结束");
|
|
|
+ if(newCourseSchedule.getStartClassTime().compareTo(date)<0){
|
|
|
+ throw new BizException("调整无效,不能调整至已结束");
|
|
|
}
|
|
|
|
|
|
//课程是否已结算
|