Browse Source

优化时间

wangfeng 4 years ago
parent
commit
bcf3ee93fc
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/main/java/com/diagbot/dto/BehospitalInfoDTO.java

+ 2 - 0
src/main/java/com/diagbot/dto/BehospitalInfoDTO.java

@@ -122,6 +122,8 @@ public class BehospitalInfoDTO implements Serializable {
     private Integer mrStatus;
     private String chName;
     private String mrName;
+    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
     private Date chTime;
+    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
     private Date mrTime;
 }