From e48a4303531c74dd8012b0cc790237af4e9f3d13 Mon Sep 17 00:00:00 2001 From: dsh <15569653818@163.com> Date: Tue, 16 Apr 2024 09:58:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ruoyi/system/domain/TdTrain.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/TdTrain.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/TdTrain.java index 40aeff1..228377f 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain/TdTrain.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/TdTrain.java @@ -41,8 +41,8 @@ public class TdTrain extends BaseEntity private String trainAddress; /** 培训日期 */ - @JsonFormat(pattern = "yyyy-MM-dd") - @Excel(name = "培训日期", width = 30, dateFormat = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd HH:MM:SS") + @Excel(name = "培训日期", width = 30, dateFormat = "yyyy-MM-dd HH:MM:SS") private Date trainDate; /** 创建人 */ @@ -54,8 +54,8 @@ public class TdTrain extends BaseEntity private String createDepartid; /** 创建日期 */ - @JsonFormat(pattern = "yyyy-MM-dd") - @Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd HH:MM:SS") + @Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd HH:MM:SS") private Date createDate; /** 更新单位 */ @@ -67,8 +67,8 @@ public class TdTrain extends BaseEntity private String updateStaffid; /** 更新时间 */ - @JsonFormat(pattern = "yyyy-MM-dd") - @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd HH:MM:SS") + @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:MM:SS") private Date updateDate; /** 所属地市 */ @@ -88,8 +88,8 @@ public class TdTrain extends BaseEntity private Long trainState; /** 培训结束时间 */ - @JsonFormat(pattern = "yyyy-MM-dd") - @Excel(name = "培训结束时间", width = 30, dateFormat = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd HH:MM:SS") + @Excel(name = "培训结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:MM:SS") private Date trainTimeend; /** 部门 */