|
@@ -656,12 +656,12 @@ public class CourseScheduleServiceImpl extends BaseServiceImpl<Long, CourseSched
|
|
|
// 判断课程时间是否超过排课结束时间
|
|
|
if(groupStartDate != null){
|
|
|
if(groupStartDate.after(calendar.getTime())){
|
|
|
- throw new BizException("调整时间不得早于开课时间({})",groupStartDate);
|
|
|
+ throw new BizException("调整时间不得早于开课时间({})", DateUtil.dateToString(groupStartDate, "yyyy-MM-dd HH:mm:ss"));
|
|
|
}
|
|
|
}
|
|
|
if (groupEndDate != null) {
|
|
|
if (calendar.getTime().after(groupEndDate)) {
|
|
|
- throw new BizException("排课时间超出排课截止日期({})", groupEndDate);
|
|
|
+ throw new BizException("排课时间超出排课截止日期({})", DateUtil.dateToString(groupEndDate, "yyyy-MM-dd HH:mm:ss"));
|
|
|
}
|
|
|
}
|
|
|
|