| | |
| | | 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); |