|
|
|
|
@ -1889,8 +1889,8 @@ public class PointServiceImpl implements PointService {
|
|
|
|
|
try { |
|
|
|
|
LocalDateTime localDateTime = LocalDateTime.parse(dateString, DateTimeFormatter.ofPattern("yyyyMMdd")); |
|
|
|
|
return localDateTime.format(DateTimeFormatter.ofPattern("yyyy年MM月dd日")); |
|
|
|
|
} catch (Exception ex) { |
|
|
|
|
log.error("日期转换异常{}", dateString, ex); |
|
|
|
|
} catch (Exception ignored) { |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
@ -1919,8 +1919,8 @@ public class PointServiceImpl implements PointService {
|
|
|
|
|
time = String.valueOf(param); |
|
|
|
|
LocalDateTime localDateTime = LocalDateTime.parse(time, DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss")); |
|
|
|
|
return localDateTime.format(DateTimeFormatter.ofPattern("yyyy年MM月dd日HH时mm分")); |
|
|
|
|
} catch (Exception exxx) { |
|
|
|
|
log.info("日期转换异常{}", time, ex); |
|
|
|
|
} catch (Exception ignored) { |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|