Browse Source

部分代码审计

yzx 4 tháng trước cách đây
mục cha
commit
51a63b3a41

+ 2 - 1
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/studentAttendance/StudentAttendanceController.java

@@ -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();
     }