From d67bb56e504dddfbc9c6e6df94920a17380d9cb7 Mon Sep 17 00:00:00 2001 From: heheng <475597332@qq.com> Date: 星期四, 17 七月 2025 11:11:33 +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