|
@@ -828,17 +828,4 @@ public class TeacherAttendanceServiceImpl extends BaseServiceImpl<Long, TeacherA
|
|
|
throw new BizException("操作失败: 当前申述状态不允许该操作");
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
- @Override
|
|
|
- @Transactional(rollbackFor = Exception.class)
|
|
|
- public void attendanceComplaintsAutoAffirmTask() {
|
|
|
- String affirmDay = sysConfigDao.findConfigValue("attendance_complaints_auto_affirm_day");
|
|
|
- if(StringUtils.isEmpty(affirmDay)){
|
|
|
- affirmDay = "7";
|
|
|
- }
|
|
|
- List<TeacherAttendance> teacherAttendances = teacherAttendanceDao.queryAttendanceComplaintsAutoAffirmList(affirmDay);
|
|
|
- teacherAttendances.forEach(e->{
|
|
|
- agreeTeacherAttendanceComplaints(1,1,e.getId(),"系统自动审核通过");
|
|
|
- });
|
|
|
- }
|
|
|
}
|