From 31175286b60073f92a536018372aa4c8be43912d Mon Sep 17 00:00:00 2001 From: wxc <191104855@qq.com> Date: Thu, 31 Jul 2025 15:53:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=92=8C=E5=B1=80=E9=95=BF=E4=BF=A1=E7=AE=B1?= =?UTF-8?q?=E5=AF=B9=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mailbox-lan/src/main/java/com/biutag/lan/domain/Mail.java | 8 +++++++- .../src/main/java/com/biutag/lan/domain/MailFlow.java | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) 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; /**