Parcourir la source

平台资金管理-实体时间格式化

ZhangWenQiang il y a 5 ans
Parent
commit
02e968f54f

+ 6 - 6
happy-boot-module-powerjob/src/main/java/org/jeecg/modules/hlgcpmanager/entity/HlgCpAccount.java

@@ -55,17 +55,17 @@ public class HlgCpAccount implements Serializable {
 	@Excel(name = "数据权限", width = 15)
 	private java.lang.String sysOrgCode;
 	/**创建时间*/
-	@Excel(name = "创建时间", width = 15, format = "yyyy-MM-dd")
-	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
-    @DateTimeFormat(pattern="yyyy-MM-dd")
+	@Excel(name = "创建时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
+	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
+    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
 	private java.util.Date createTime;
 	/**创建者*/
 	@Excel(name = "创建者", width = 15)
 	private java.lang.String createBy;
 	/**更新时间*/
-	@Excel(name = "更新时间", width = 15, format = "yyyy-MM-dd")
-	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
-    @DateTimeFormat(pattern="yyyy-MM-dd")
+	@Excel(name = "更新时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
+	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
+    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
 	private java.util.Date updateTime;
 	/**更新者*/
 	@Excel(name = "更新者", width = 15)

+ 3 - 3
happy-boot-module-powerjob/src/main/java/org/jeecg/modules/hlgcpmanager/entity/HlgCpAccountDetail.java

@@ -93,9 +93,9 @@ public class HlgCpAccountDetail implements Serializable {
     /**
      * 生成时间
      */
-    @Excel(name = "生成时间", width = 15, format = "yyyy-MM-dd")
-    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
-    @DateTimeFormat(pattern = "yyyy-MM-dd")
+    @Excel(name = "生成时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
+    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
+    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
     private java.util.Date generateTime;
     /**
      * 生成者