Browse Source

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

james 3 weeks ago
parent
commit
91f00bd308

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

@@ -25,19 +25,19 @@ public class FacilityImportVo{
     /**
      * 设施类型(必填)
      */
-    @Excel(name = "设施类型(必填)")
+    @Excel(name = "设施类型")
     private String facilityType;
 
     /**
      * 设施名称(必填)
      */
-    @Excel(name = "设施名称(必填)")
+    @Excel(name = "设施名称")
     private String facilityName;
 
     /**
      * 设施地址(必填)
      */
-    @Excel(name = "设施地址(必填)")
+    @Excel(name = "设施地址")
     private String address;
 
     /**
@@ -61,19 +61,19 @@ public class FacilityImportVo{
     /**
      * 设施状态
      */
-    @Excel(name = "设施状态")
+    @Excel(name = "设施状态", readConverterExp = "正常=0,维修=1,关闭=2")
     private Integer status;
 
     /**
      * 经度(必填)
      */
-    @Excel(name = "经度(必填)")
+    @Excel(name = "经度")
     private String longitude;
 
     /**
      * 维度(必填)
      */
-    @Excel(name = "维度(必填)")
+    @Excel(name = "维度")
     private String latitude;
 
     /**