From 593031a6b93194eac4c2d334a704a3492d0ec6f4 Mon Sep 17 00:00:00 2001 From: "Mr.Wang" Date: Tue, 9 Jul 2024 18:41:09 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E7=AD=9B=E9=80=89=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E8=AE=BE=E5=A4=87=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../business/service/impl/DcEmergencyPlansServiceImpl.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zc-business/src/main/java/com/zc/business/service/impl/DcEmergencyPlansServiceImpl.java b/zc-business/src/main/java/com/zc/business/service/impl/DcEmergencyPlansServiceImpl.java index 6d889df3..cbb7e798 100644 --- a/zc-business/src/main/java/com/zc/business/service/impl/DcEmergencyPlansServiceImpl.java +++ b/zc-business/src/main/java/com/zc/business/service/impl/DcEmergencyPlansServiceImpl.java @@ -492,6 +492,7 @@ public class DcEmergencyPlansServiceImpl implements DcEmergencyPlansService { parameter.put("startStakeMark", start); parameter.put("endStakeMark", end); parameter.put("useState",UniversalEnum.ONE.getNumber()); + parameter.put("deviceState", UniversalEnum.ONE.getValue()); dcDevices = dcDeviceService.devicePileNumberQueryDevice(parameter); Collections.sort(dcDevices, new Comparator() { @Override @@ -516,6 +517,7 @@ public class DcEmergencyPlansServiceImpl implements DcEmergencyPlansService { parameter.put("startStakeMark", start); parameter.put("endStakeMark", end); parameter.put("useState",UniversalEnum.ONE.getNumber()); + parameter.put("deviceState", UniversalEnum.ONE.getValue()); dcDevices = dcDeviceService.devicePileNumberQueryDevice(parameter); Collections.sort(dcDevices, new Comparator() { @Override @@ -543,6 +545,7 @@ public class DcEmergencyPlansServiceImpl implements DcEmergencyPlansService { parameter.put("startStakeMark", start); parameter.put("endStakeMark", end); parameter.put("useState",UniversalEnum.ONE.getNumber()); + parameter.put("deviceState", UniversalEnum.ONE.getValue()); dcDevices = dcDeviceService.devicePileNumberQueryDevice(parameter); Collections.sort(dcDevices, new Comparator() { @Override @@ -567,6 +570,7 @@ public class DcEmergencyPlansServiceImpl implements DcEmergencyPlansService { parameter.put("startStakeMark", start); parameter.put("endStakeMark", end); parameter.put("useState",UniversalEnum.ONE.getNumber()); + parameter.put("deviceState", UniversalEnum.ONE.getValue()); dcDevices = dcDeviceService.devicePileNumberQueryDevice(parameter); Collections.sort(dcDevices, new Comparator() { @Override @@ -596,6 +600,7 @@ public class DcEmergencyPlansServiceImpl implements DcEmergencyPlansService { parameter.put("endStakeMark", end); parameter.put("deviceType", dcExecuteAction.getDeviceType()); parameter.put("useState",UniversalEnum.ONE.getNumber()); + parameter.put("deviceState", UniversalEnum.ONE.getValue()); // 根据桩号范围,查询附近设备 dcDevices = dcDeviceService.devicePileNumberQueryDevice(parameter); }