|
@@ -1882,7 +1882,7 @@ public class CourseScheduleServiceImpl extends BaseServiceImpl<Long, CourseSched
|
|
|
|
|
|
Date date = new Date();
|
|
|
//课程已结束,更新“未签到”学生的状态未“旷课”
|
|
|
- List<StudentAttendance> studentAttendanceList = courseScheduleDao.queryUnsignedStudentList();
|
|
|
+ /*List<StudentAttendance> studentAttendanceList = courseScheduleDao.queryUnsignedStudentList();
|
|
|
if (studentAttendanceList != null && studentAttendanceList.size() > 0) {
|
|
|
// 获取老师的考勤记录
|
|
|
Map<Long, TeacherAttendance> teacherAttendanceMap = teacherAttendanceDao
|
|
@@ -1911,7 +1911,7 @@ public class CourseScheduleServiceImpl extends BaseServiceImpl<Long, CourseSched
|
|
|
if (studentAttendanceList != null && studentAttendanceList.size() > 0) {
|
|
|
studentAttendanceDao.addStudentAttendances(studentAttendanceList);
|
|
|
}
|
|
|
- }
|
|
|
+ }*/
|
|
|
|
|
|
//自动更新课程状态至“已结束”
|
|
|
List<CourseSchedule> list = courseScheduleDao.queryFinishedWithNoUpdateStatus();
|