修改定时逻辑

This commit is contained in:
2025-07-09 18:55:09 +08:00
parent 047c2901fb
commit 3c0edbb95e

View File

@@ -277,7 +277,8 @@ public class SysOaRemindServiceImpl implements ISysOaRemindService {
//一秒执行一次
// @Scheduled(fixedRate = 1000)
@Scheduled(cron = "0 * * * * ?")
// @Scheduled(cron = "0 * * * * ?")
@Scheduled(cron = "0 0 1 * * ?")
public void generateRemindJob() {
// 查询3天内到期的任务
SysOaTaskBo taskBo = new SysOaTaskBo();