|
|
|
@ -2179,8 +2179,8 @@ public class PointServiceImpl implements PointService { |
|
|
|
try { |
|
|
|
try { |
|
|
|
LocalDateTime localDateTime = LocalDateTime.parse(dateString, DateTimeFormatter.ofPattern("yyyyMMdd")); |
|
|
|
LocalDateTime localDateTime = LocalDateTime.parse(dateString, DateTimeFormatter.ofPattern("yyyyMMdd")); |
|
|
|
return localDateTime.format(DateTimeFormatter.ofPattern("yyyy年MM月dd日")); |
|
|
|
return localDateTime.format(DateTimeFormatter.ofPattern("yyyy年MM月dd日")); |
|
|
|
} catch (Exception ignored) { |
|
|
|
} catch (Exception ex) { |
|
|
|
|
|
|
|
System.out.println("时间" + dateString + "解析失败" + ex); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
@ -2209,8 +2209,8 @@ public class PointServiceImpl implements PointService { |
|
|
|
time = String.valueOf(param); |
|
|
|
time = String.valueOf(param); |
|
|
|
LocalDateTime localDateTime = LocalDateTime.parse(time, DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss")); |
|
|
|
LocalDateTime localDateTime = LocalDateTime.parse(time, DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss")); |
|
|
|
return localDateTime.format(DateTimeFormatter.ofPattern("yyyy年MM月dd日HH时mm分")); |
|
|
|
return localDateTime.format(DateTimeFormatter.ofPattern("yyyy年MM月dd日HH时mm分")); |
|
|
|
} catch (Exception ignored) { |
|
|
|
} catch (Exception exxx) { |
|
|
|
|
|
|
|
System.out.println("时间" + time + "解析失败" + ex); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|