From 7a9272343fa934b50a64ddc6727b24ce45c92bf8 Mon Sep 17 00:00:00 2001 From: heheng <475597332@qq.com> Date: 星期五, 11 七月 2025 14:09:23 +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