From f840f0841cfbc4f342b8c50ffb32acae5c747df0 Mon Sep 17 00:00:00 2001 From: hongchao <3228015117@qq.com> Date: Fri, 29 Aug 2025 18:05:14 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=80=E6=96=99=E5=92=8C=E4=BF=AE=E8=AF=95bu?= =?UTF-8?q?g=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../warning/ScheduledCheckWarning.java | 7 +-- .../material/back/BackApplyInfoMapper.xml | 56 +++++++++---------- .../repair/RepairInputDetailsMapper.xml | 2 +- 3 files changed, 29 insertions(+), 36 deletions(-) diff --git a/bonus-modules/bonus-material/src/main/java/com/bonus/material/warning/ScheduledCheckWarning.java b/bonus-modules/bonus-material/src/main/java/com/bonus/material/warning/ScheduledCheckWarning.java index 1d88cfbc..4de4f4db 100644 --- a/bonus-modules/bonus-material/src/main/java/com/bonus/material/warning/ScheduledCheckWarning.java +++ b/bonus-modules/bonus-material/src/main/java/com/bonus/material/warning/ScheduledCheckWarning.java @@ -43,9 +43,7 @@ public class ScheduledCheckWarning { /** * 定时任务执行频率,每周三/五天上午9点执行一次 */ -// private String cronExpression = "0 0 9 ? * WED,FRI"; - - private String cronExpression = "0 0 17 ? * WED,FRI"; + private String cronExpression = "0 0 9 ? * WED,FRI"; /** @@ -73,8 +71,7 @@ public class ScheduledCheckWarning { private String getCronFromDatabase() { // 这里假设从数据库中获取 cron 表达式 //return "0 */1 * * * ?"; - return "0 0 17 ? * WED,FRI"; -// return "0 0 9 ? * WED,FRI"; + return "0 0 9 ? * WED,FRI"; } /** diff --git a/bonus-modules/bonus-material/src/main/resources/mapper/material/back/BackApplyInfoMapper.xml b/bonus-modules/bonus-material/src/main/resources/mapper/material/back/BackApplyInfoMapper.xml index e790268d..c3c97aea 100644 --- a/bonus-modules/bonus-material/src/main/resources/mapper/material/back/BackApplyInfoMapper.xml +++ b/bonus-modules/bonus-material/src/main/resources/mapper/material/back/BackApplyInfoMapper.xml @@ -197,39 +197,34 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"