update 使用 jackson 全局处理时间

This commit is contained in:
疯狂的狮子li
2021-12-30 17:44:50 +08:00
parent bafb58cd8e
commit 4e2d2858c7
6 changed files with 0 additions and 7 deletions

View File

@@ -24,14 +24,12 @@ public class BaseEntity implements Serializable
private String createBy;
/** 创建时间 */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date createTime;
/** 更新者 */
private String updateBy;
/** 更新时间 */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date updateTime;
/** 备注 */