|
@@ -2990,7 +2990,7 @@ public class CourseScheduleServiceImpl extends BaseServiceImpl<Long, CourseSched
|
|
|
for (StudentAttendance studentAttendance : studentAttendanceList) {
|
|
|
if (studentAttendance.getStatus() != StudentAttendanceStatusEnum.LEAVE
|
|
|
|| (studentAttendance.getStatus() == StudentAttendanceStatusEnum.LEAVE
|
|
|
- &&DateUtil.addHours(studentAttendance.getCreateTime(),4).compareTo(oldCourseSchedule.getStartClassTime())>=0)) {
|
|
|
+ &&StringUtils.isBlank(studentAttendance.getRemark()))) {
|
|
|
throw new BizException("{}[{}] {}-{}课程已点名", oldCourseSchedule.getName(), oldCourseSchedule.getId(), DateUtil.dateToString(
|
|
|
oldCourseSchedule.getStartClassTime(), DateUtil.EXPANDED_DATE_TIME_FORMAT), DateUtil.dateToString(
|
|
|
oldCourseSchedule.getEndClassTime(), DateUtil.EXPANDED_DATE_TIME_FORMAT));
|