|
@@ -318,15 +318,15 @@ public class TeacherAttendanceServiceImpl extends BaseServiceImpl<Long, TeacherA
|
|
|
teacherAttendance.setSignOutTime(date);
|
|
|
teacherAttendanceDao.update(teacherAttendance);
|
|
|
//教师签退后,给未签到学员添加旷课记录
|
|
|
- List<StudentAttendance> studentAttendances = studentAttendanceDao.queryNoSignStudentRecord(courseScheduleId);
|
|
|
- if(studentAttendances != null && studentAttendances.size() > 0){
|
|
|
- studentAttendances.forEach(e->{
|
|
|
- e.setTeacherId(userId);
|
|
|
- e.setStatus(StudentAttendanceStatusEnum.TRUANT);
|
|
|
- e.setRemark("学员未到,自动补旷课");
|
|
|
- });
|
|
|
- studentAttendanceDao.addStudentAttendances(studentAttendances);
|
|
|
- }
|
|
|
+// List<StudentAttendance> studentAttendances = studentAttendanceDao.queryNoSignStudentRecord(courseScheduleId);
|
|
|
+// if(studentAttendances != null && studentAttendances.size() > 0){
|
|
|
+// studentAttendances.forEach(e->{
|
|
|
+// e.setTeacherId(userId);
|
|
|
+// e.setStatus(StudentAttendanceStatusEnum.TRUANT);
|
|
|
+// e.setRemark("学员未到,自动补旷课");
|
|
|
+// });
|
|
|
+// studentAttendanceDao.addStudentAttendances(studentAttendances);
|
|
|
+// }
|
|
|
}
|
|
|
}
|
|
|
|