diff --git a/mailbox-lan/src/main/java/com/biutag/lan/domain/Mail.java b/mailbox-lan/src/main/java/com/biutag/lan/domain/Mail.java index 6209e5b..646d4a7 100644 --- a/mailbox-lan/src/main/java/com/biutag/lan/domain/Mail.java +++ b/mailbox-lan/src/main/java/com/biutag/lan/domain/Mail.java @@ -47,15 +47,17 @@ public class Mail { /** * 创建时间 */ + @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime createTime; /** * 更新时间 */ + @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime updateTime; /** * 来信时间 */ - @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") + @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime mailTime; /** @@ -93,6 +95,7 @@ public class Mail { /** * 流程限时最后操作时间 */ + @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime flowLimitedLastHandlerTime; /** @@ -156,6 +159,7 @@ public class Mail { /** * 联系群众时间 */ + @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime contactTime; /** @@ -381,6 +385,7 @@ public class Mail { /** * 市局专班下发时间 */ + @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime firstDistributeTime; /** @@ -403,6 +408,7 @@ public class Mail { /** * 二级机构下发时间 */ + @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime secondDistributeTime; // 派驻督察人员 diff --git a/mailbox-lan/src/main/java/com/biutag/lan/domain/MailFlow.java b/mailbox-lan/src/main/java/com/biutag/lan/domain/MailFlow.java index d818a84..26bdd07 100644 --- a/mailbox-lan/src/main/java/com/biutag/lan/domain/MailFlow.java +++ b/mailbox-lan/src/main/java/com/biutag/lan/domain/MailFlow.java @@ -70,7 +70,7 @@ public class MailFlow { /** * 创建时间 */ - @JsonFormat(pattern = "MM-dd HH:mm:ss") + @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime createTime; /**