Ver Fonte

1.计算要素bug

lengfaqiang há 2 anos atrás
pai
commit
92d8343c5e

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

@@ -267,7 +267,7 @@ public class ThresholdService {
 
         }
         if (!CollectionUtils.isEmpty(integratedElementList)) {
-            List<String> collect = basiclElementList.stream().map(DeviceElementDTO::getIntegrationElement).collect(Collectors.toList());
+            List<String> collect = integratedElementList.stream().map(DeviceElementDTO::getIntegrationElement).collect(Collectors.toList());
             if (!CollectionUtils.isEmpty(collect)) {
                 count = count + collect.size();
 //                for (String s : collect) {