From b94dff764757a4009f536bf1f16394866b34304f Mon Sep 17 00:00:00 2001 From: heheng <475597332@qq.com> Date: 星期五, 06 六月 2025 13:48:29 +0800 Subject: [PATCH] 优化每年专项数据获取,定时重推数据 --- src/main/java/com/ruoyi/doublePrevention/scheduls/RePushDataSchedule.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/ruoyi/doublePrevention/scheduls/RePushDataSchedule.java b/src/main/java/com/ruoyi/doublePrevention/scheduls/RePushDataSchedule.java index 11514a4..0fcf645 100644 --- a/src/main/java/com/ruoyi/doublePrevention/scheduls/RePushDataSchedule.java +++ b/src/main/java/com/ruoyi/doublePrevention/scheduls/RePushDataSchedule.java @@ -48,9 +48,9 @@ LocalDate currentDate = LocalDate.now(); // 计算当前周的周一日期 - LocalDate mondayDate = currentDate.with(DayOfWeek.THURSDAY); - log.info("当前周的周四日期:" + mondayDate); - String startTime = mondayDate + " 12:00:00"; + LocalDate thursdayDate = currentDate.with(DayOfWeek.THURSDAY); + log.info("当前周的周四日期:" + thursdayDate); + String startTime = thursdayDate + " 12:00:00"; String endTime = DateUtils.getDate() + " 16:00:00"; int i = preventCJReportCheckRecordFromTaskRepository.updateTaskReportStatusForRePushV2(startTime, endTime); -- Gitblit v1.9.2