关掉消防半月检查表定时器

liujun-2024-05-23-接口漏洞修复
limingyu 2024-04-19 13:59:30 +08:00
parent a3f1eb9749
commit 2be4c2a38a
1 changed files with 1 additions and 2 deletions

View File

@ -57,7 +57,7 @@ public class RecordHalfMonthScheduled {
}
}
@Scheduled(cron ="0 0 1 1,16 1-12 ?") //每月1号、16号 01:00
// @Scheduled(cron ="0 0 1 1,16 1-12 ?") //每月1号、16号 01:00
// @Scheduled(cron ="*/20 * * * * ?")//测试
public void equipmentNotChecked(){
System.out.println("============每半月定时增加超期未检查消防设备记录==========");
@ -91,7 +91,6 @@ public class RecordHalfMonthScheduled {
pageData.put("CORPINFO_ID", corpinfoId);
pageData.put("PERIODSTART", finalStartTime);
pageData.put("PERIODEND", finalEndTime);
pageData.put("PHONE_REPEAT", "1");
//'添加人''添加时间''修改人''修改时间'
pageData.put("CREATOR", "adminTask");
pageData.put("CREATTIME", DateUtil.date2Str(new Date()));