摘要: Mapper 首先,调整UserMapper.xml,添加resultMap用来表和对象做映射 日期的格式不是我们想要的User.java中Date类型添加注解,显示就是正确的了 @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8") 阅读全文
posted @ 2018-12-23 16:07 特喜欢 阅读(608) 评论(0) 推荐(0) 编辑