|
@@ -86,9 +86,9 @@ public class CreateYfDailyReportStatisticsJob implements JobHandler {
|
|
|
// 获取当前时间
|
|
// 获取当前时间
|
|
|
LocalDateTime currentDate = LocalDateTime.now();
|
|
LocalDateTime currentDate = LocalDateTime.now();
|
|
|
// 根据当前日期生成前一天的日期
|
|
// 根据当前日期生成前一天的日期
|
|
|
- // LocalDateTime yesterday = currentDate.minusDays(1);
|
|
|
|
|
|
|
+ LocalDateTime yesterday = currentDate.minusDays(1);
|
|
|
// 测试数据 2026年8月29日
|
|
// 测试数据 2026年8月29日
|
|
|
- LocalDateTime yesterday = LocalDateTime.of(2026, 8, 29, 0, 0);
|
|
|
|
|
|
|
+ // LocalDateTime yesterday = LocalDateTime.of(2026, 8, 29, 0, 0);
|
|
|
|
|
|
|
|
LocalDateTime createTimeStart = yesterday.toLocalDate().atStartOfDay();
|
|
LocalDateTime createTimeStart = yesterday.toLocalDate().atStartOfDay();
|
|
|
LocalDateTime createTimeEnd = yesterday.toLocalDate().atTime(23, 59, 59);
|
|
LocalDateTime createTimeEnd = yesterday.toLocalDate().atTime(23, 59, 59);
|