diff --git a/zc-business/src/main/java/com/zc/business/controller/DcTrafficFlowWarning.java b/zc-business/src/main/java/com/zc/business/controller/DcTrafficFlowWarning.java index 9e11d6cf..19f3a0a4 100644 --- a/zc-business/src/main/java/com/zc/business/controller/DcTrafficFlowWarning.java +++ b/zc-business/src/main/java/com/zc/business/controller/DcTrafficFlowWarning.java @@ -55,9 +55,9 @@ public class DcTrafficFlowWarning { // 格式化日期输出(可选) DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd"); DateTimeFormatter formatterStr = DateTimeFormatter.ofPattern("yyyy年M月d日"); - // String formattedDate = dateAfterSevenDays.format(formatter); + String formattedDate = dateAfterSevenDays.format(formatter); String formattedDateStr = dateAfterSevenDays.format(formatterStr); - String formattedDate ="2024-05-01"; + // String formattedDate ="2024-05-01"; for (DcHolidays holidays : dcHolidaysList) { String vacation = holidays.getVacation();