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 a913e615..7b7155f8 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 @@ -1064,7 +1064,12 @@ public class DcEmergencyPlansServiceImpl implements DcEmergencyPlansService { } proDevice.put("functions", functionList); propsList.add(proDevice); - insertEquipmentControlRecordTable(device, propsList, resultArray, status, remark.toString(),eventId); + // 语音广播恢复操作不存记录 + if (!(device.getDeviceType().equals(DeviceTypeConstants.ROAD_SECTION_VOICE_BROADCASTING.toString()) + && operationType.equals(2))) { + insertEquipmentControlRecordTable(device, propsList, resultArray, status, remark.toString(),eventId); + } + } catch (HttpException | IOException e) { log.error(e.toString()); throw new RuntimeException(e);