From 54e870d27d6020d7528a3fc19b836de9aabcd470 Mon Sep 17 00:00:00 2001 From: "Mr.Wang" Date: Tue, 25 Jun 2024 17:54:06 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=AD=E9=9F=B3=E5=B9=BF=E6=92=AD=E6=81=A2?= =?UTF-8?q?=E5=A4=8D=E6=93=8D=E4=BD=9C=E4=B8=8D=E5=AD=98=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../business/service/impl/DcEmergencyPlansServiceImpl.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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);