refactor(service): 优化日期格式化和集合判空逻辑
- 使用DateUtil工具类替代原生日期格式化方法 - 引入DatePattern常量统一日期时间格式 - 使用CollectionUtils工具类替代手动集合判空检查 - 提高代码可读性和维护性
Showing
2 changed files
with
5 additions
and
2 deletions
-
Please register or sign in to post a comment
- 使用DateUtil工具类替代原生日期格式化方法 - 引入DatePattern常量统一日期时间格式 - 使用CollectionUtils工具类替代手动集合判空检查 - 提高代码可读性和维护性