gaodd 1 рік тому
батько
коміт
eaa3685f1c

+ 7 - 0
src/main/java/com/chinaitop/depot/product/model/DataKcglCplkcswDefault.java

@@ -2,6 +2,8 @@ package com.chinaitop.depot.product.model;
2 2
 
3 3
 import java.util.Date;
4 4
 
5
+import com.fasterxml.jackson.annotation.JsonFormat;
6
+
5 7
 public class DataKcglCplkcswDefault {
6 8
     
7 9
 	//业务字段
@@ -34,14 +36,18 @@ public class DataKcglCplkcswDefault {
34 36
 
35 37
     private String builder;
36 38
 
39
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
37 40
     private Date cjsj;
38 41
 
39 42
     private String editor;
40 43
 
44
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
41 45
     private Date modifydate;
42 46
 
47
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
43 48
     private Date updatetime;
44 49
 
50
+    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
45 51
     private Date scrq;
46 52
 
47 53
     private String bzq;
@@ -82,6 +88,7 @@ public class DataKcglCplkcswDefault {
82 88
 
83 89
     private String cd;
84 90
 
91
+    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
85 92
     private Date rcrq;
86 93
 
87 94
     /**