|
@@ -1385,10 +1385,6 @@ public class CourseScheduleServiceImpl extends BaseServiceImpl<Long, CourseSched
|
|
|
|
|
|
oldCourseSchedules.put(newCourseSchedule.getId(), oldCourseSchedule);
|
|
oldCourseSchedules.put(newCourseSchedule.getId(), oldCourseSchedule);
|
|
|
|
|
|
- if (oldCourseSchedule.getStartClassTime().before(now) && sysUser.getUserType().contains("TEACHER")) {
|
|
|
|
- throw new BizException("不能调整今天及以前的课程");
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
if (newCourseSchedule.getStartClassTime().after(now)){
|
|
if (newCourseSchedule.getStartClassTime().after(now)){
|
|
teacherAttendanceDao.cleanCourseTeacherSignInfo(newCourseSchedule.getId());
|
|
teacherAttendanceDao.cleanCourseTeacherSignInfo(newCourseSchedule.getId());
|
|
}
|
|
}
|