|
@@ -64,7 +64,8 @@ public class StudentAttendanceController {
|
|
|
// checkAttendanceSecond();
|
|
|
// }
|
|
|
|
|
|
- @Scheduled(cron = "0 20 21 * * ?") // 每天0:00检测,更新未打卡
|
|
|
+ @Scheduled(cron = "0 25 21 * * ?") // 每天0:00检测,更新未打卡
|
|
|
+ @Idempotent(timeout = 10)
|
|
|
public void attendanceNormalFirst() {
|
|
|
checkAttendanceFirst();
|
|
|
}
|