Browse Source

语音广播恢复操作不存记录

develop
Mr.Wang 5 months ago
parent
commit
54e870d27d
  1. 7
      zc-business/src/main/java/com/zc/business/service/impl/DcEmergencyPlansServiceImpl.java

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

Loading…
Cancel
Save