定时任务 复审 企业标准 查询 更正为每天凌晨执行

This commit is contained in:
gaojiabao
2023-04-25 18:31:01 +08:00
parent 64e8f0ef71
commit bc3998172d
@@ -46,7 +46,9 @@ public class StateSync {
// 月初 // 月初
@Scheduled(cron="0 0 1 1 * ?") //@Scheduled(cron="0 0 1 1 * ?")
@Scheduled(cron = "0 0 0 * * ?") //每天凌晨
// @Scheduled(cron="*/5 * * * * ?") // @Scheduled(cron="*/5 * * * * ?")
@Async @Async
public void StandScheduledJobMonthBegin(){ public void StandScheduledJobMonthBegin(){
@@ -150,9 +152,9 @@ public class StateSync {
} }
// 月末 (逻辑和 月初 一样 月末需跑一次下整月 防止特殊原因导致遗漏) // 月末 (逻辑和 月初 一样 月末需跑一次下整月 防止特殊原因导致遗漏)
@Scheduled(cron="0 0 1 28-31 * ?") //@Scheduled(cron="0 0 1 28-31 * ?")
// @Scheduled(cron="*/5 * * * * ?") // @Scheduled(cron="*/5 * * * * ?")
@Async //@Async
public void StandScheduledJobMonthEnd(){ public void StandScheduledJobMonthEnd(){
if(isNotScheduled){ if(isNotScheduled){
try{ try{