Browse Source

交通流预警 修改

develop
王兴琳 5 months ago
parent
commit
09b5252c76
  1. 4
      zc-business/src/main/java/com/zc/business/controller/DcTrafficFlowWarning.java

4
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 formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd");
DateTimeFormatter formatterStr = DateTimeFormatter.ofPattern("yyyy年M月d日"); DateTimeFormatter formatterStr = DateTimeFormatter.ofPattern("yyyy年M月d日");
// String formattedDate = dateAfterSevenDays.format(formatter); String formattedDate = dateAfterSevenDays.format(formatter);
String formattedDateStr = dateAfterSevenDays.format(formatterStr); String formattedDateStr = dateAfterSevenDays.format(formatterStr);
String formattedDate ="2024-05-01"; // String formattedDate ="2024-05-01";
for (DcHolidays holidays : dcHolidaysList) { for (DcHolidays holidays : dcHolidaysList) {
String vacation = holidays.getVacation(); String vacation = holidays.getVacation();

Loading…
Cancel
Save