mysql中的Date日期格式的问题:只有日期没有时间及格式化时间

mac2022-06-30  22

只有日期没有时间,把xml中的date改为timestamp

格式化最简单的方法:@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")

转载于:https://www.cnblogs.com/MarsMercury/p/11615485.html

相关资源:JAVA上百实例源码以及开源项目
最新回复(0)