diff --git a/detection/src/main/java/com/njcn/gather/script/service/impl/PqScriptDtlsServiceImpl.java b/detection/src/main/java/com/njcn/gather/script/service/impl/PqScriptDtlsServiceImpl.java index 7a643593..569ddaf0 100644 --- a/detection/src/main/java/com/njcn/gather/script/service/impl/PqScriptDtlsServiceImpl.java +++ b/detection/src/main/java/com/njcn/gather/script/service/impl/PqScriptDtlsServiceImpl.java @@ -129,7 +129,8 @@ public class PqScriptDtlsServiceImpl extends ServiceImpl sourceIssues = new ArrayList<>(); Set voltSet = new HashSet<>(1); Set currSet = new HashSet<>(1); - if (CollUtil.isNotEmpty(param.getDevIds())) { + boolean devFly = CollUtil.isNotEmpty(param.getDevIds()); + if (devFly) { //校验终端额定电压电流是否相同 List list = pqDevService.list(new LambdaQueryWrapper() .eq(PqDev::getPlanId, param.getPlanId()) @@ -206,7 +207,7 @@ public class PqScriptDtlsServiceImpl extends ServiceImpl curList = value.stream().filter(x -> CUR.equals(x.getValueType())) @@ -218,7 +219,7 @@ public class PqScriptDtlsServiceImpl extends ServiceImpl channelListDTOS, PqScriptCheckDataParam checkDataParam, + Boolean devFly, Boolean isValueType) { List info = new ArrayList<>(); info.add("A"); @@ -939,10 +941,13 @@ public class PqScriptDtlsServiceImpl extends ServiceImpl