Bladeren bron

物联总览bug修改

jingyuanchao 1 jaar geleden
bovenliggende
commit
c4346532d7

+ 2 - 2
soc-modules/soc-modules-iot/src/main/java/com/xunmei/iot/vo/board/IotBoardTotalData.java

@@ -75,7 +75,7 @@ public class IotBoardTotalData {
         @ApiModelProperty(value = "硬盘异常率")
         private String hardDiskExceptionRate;
         @ApiModelProperty(value = "数据更新时间")
-        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
+        @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
         private Date updateTime;
     }
 
@@ -86,7 +86,7 @@ public class IotBoardTotalData {
         @ApiModelProperty(value = "录像存储x天以上占比", notes = "key:计划存储天数,value:存在丢失数量")
         private Map<Integer, Integer> hashmap;
         @ApiModelProperty(value = "数据更新时间")
-        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
+        @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
         private Date updateTime;
     }