15928045575 пре 2 година
родитељ
комит
2251e00847

+ 5 - 0
slope-modules/slope-detection/src/main/java/com/sckw/slope/detection/model/vo/DeviceIntegrationVo.java

@@ -25,6 +25,11 @@ public class DeviceIntegrationVo implements Serializable {
      */
     private String unit;
 
+    /**
+     * 单位
+     */
+    private String unitNe;
+
     /**
      * 企业id
      */

+ 1 - 0
slope-modules/slope-detection/src/main/java/com/sckw/slope/detection/service/DeviceService.java

@@ -379,6 +379,7 @@ public class DeviceService {
                 for (SystemDict value : deviceType.values()) {
                     if (inter.getUnit().toString().equals(value.getValue())) {
                         inter.setUnit(value.getDescription());
+                        inter.setUnitNe(value.getDescription());
                     }
                 }
                 references.forEach(re -> {