From e0e1b6ea9ebbed44ff0e5073bf25baa86cea5f4a Mon Sep 17 00:00:00 2001 From: wr <1754607820@qq.com> Date: Thu, 6 Mar 2025 16:00:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/PqScriptDtlsServiceImpl.java | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) 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