Explorar o código

擅自动用或置换预警-列表

hanqingsong hai 1 ano
pai
achega
2c186ee1d4

+ 2 - 0
src/main/java/com/chinaitop/depot/tempWarn/model/StorageUseReplacementAlarm.java

@@ -1,5 +1,6 @@
1 1
 package com.chinaitop.depot.tempWarn.model;
2 2
 
3
+import com.fasterxml.jackson.annotation.JsonFormat;
3 4
 import lombok.Data;
4 5
 
5 6
 import java.util.Date;
@@ -18,6 +19,7 @@ public class StorageUseReplacementAlarm {
18 19
 
19 20
     private String yjxx;
20 21
 
22
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
21 23
     private Date yjsj;
22 24
 
23 25
     private String czr;