Browse Source

优化地理信息-导出和地理设施-导入两个接口,使得地理设施系统-设施采集的地理设施信息的导入和导出共用一个模板4

james 3 weeks ago
parent
commit
17e1a19def

+ 2 - 0
service-iot/service-iot-biz/src/main/java/com/usky/iot/service/vo/FacilityImportVo.java

@@ -1,6 +1,7 @@
 package com.usky.iot.service.vo;
 
 
+import com.fasterxml.jackson.annotation.JsonFormat;
 import com.usky.common.core.annotation.Excel;
 import lombok.Data;
 
@@ -80,6 +81,7 @@ public class FacilityImportVo{
      * 创建时间
      */
     @Excel(name = "创建时间")
+    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
     private LocalDateTime createTime;
 
 }