合并分支 'dev_20230216' 到 'master'

Dev 20230216

查看合并请求 laws-foton-slrs/foton-slrs-system-rest!65
This commit is contained in:
高嵩
2023-04-25 18:31:46 +08:00
@@ -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 * * * * ?")
@Async
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 * * * * ?")
@Async
//@Async
public void StandScheduledJobMonthEnd(){
if(isNotScheduled){
try{