Browse Source

平面图查询设备bug修复

linhuili 3 years ago
parent
commit
7935b1bea1

+ 2 - 2
src/main/java/com/persagy/proxy/dictionary/controller/AdmLabslController.java

@@ -42,7 +42,7 @@ public class AdmLabslController {
     private IAdmLabslService service;
 
     @Value("${middleware.group.code}")
-    private String groupCode;
+    private String groupCode ="XG";
 
     @Autowired
     private IAdmEquipmentService iAdmEquipmentService;
@@ -153,7 +153,7 @@ public class AdmLabslController {
         if(CollUtil.isEmpty(ids)){
             return AdmResponse.success(new ArrayList<>());
         }
-        List<String> newIds = ids.stream().filter(id->"fisnull".equals(id)).collect(Collectors.toList());
+        List<String> newIds = ids.stream().filter(id->!"fisnull".equals(id)).collect(Collectors.toList());
         if(CollUtil.isEmpty(newIds)){
             return AdmResponse.success(new ArrayList<>());
         }