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); }