@ -148,7 +148,7 @@ public class QuarterlyTrafficGantryStatisticsCache extends AbstractTrafficStatis
*/
private static String formatDate(Date date) {
// 使用 DateUtil 工具类将 date 格式化为指定格式的字符串
return DateUtil.format(date, "yyyy-MM-01");
return DateUtil.format(DateUtil.beginOfQuarter(new Date()), "yyyy-MM-dd");
}
@ -148,7 +148,7 @@ public class QuarterlyGantryMetricsStatisticsCache extends AbstractTrafficStatis
@ -143,7 +143,7 @@ public class QuarterlyTrafficSectionStatisticsCache extends AbstractTrafficStati
@ -148,7 +148,7 @@ public class QuarterlyTrafficTollStationStatisticsCache extends AbstractTrafficS