|
@@ -1539,7 +1539,8 @@ public class CourseScheduleServiceImpl extends BaseServiceImpl<Long, CourseSched
|
|
|
|
|
|
//课程结束时间必须在21:00之前
|
|
|
if(DateUtil.getHour(existCours.getEndClassTime()) > 20 && DateUtil.getMinute(existCours.getEndClassTime()) > 0){
|
|
|
- throw new BizException("课程结束时间不能超过21:00,请重新调整上课时间");
|
|
|
+ //TODO: 课程结束时间不能超过21:00,请重新调整上课时间
|
|
|
+ //throw new BizException("课程结束时间不能超过21:00,请重新调整上课时间");
|
|
|
}
|
|
|
|
|
|
if(!DateUtil.isSameDay(existCours.getStartClassTime(), existCours.getEndClassTime())){
|
|
@@ -3178,7 +3179,8 @@ public class CourseScheduleServiceImpl extends BaseServiceImpl<Long, CourseSched
|
|
|
|
|
|
//课程结束时间必须在21:00之前
|
|
|
if(DateUtil.getHour(newCourseSchedule.getEndClassTime()) > 20 && DateUtil.getMinute(newCourseSchedule.getEndClassTime()) > 0){
|
|
|
- throw new BizException("课程结束时间不能超过21:00,请重新调整上课时间");
|
|
|
+ //TODO: 2018/11/22 课程结束时间不能超过21:00,请重新调整上课时间
|
|
|
+ //throw new BizException("课程结束时间不能超过21:00,请重新调整上课时间");
|
|
|
}
|
|
|
|
|
|
//判断上课时间是否跨天
|