Commit a3bdf4b9773b9dcebdca5292f63366c20a8225e6

Authored by 云中非
1 parent d1159016

fix: 告警为清除问题修复

@@ -209,7 +209,8 @@ class ReactState { @@ -209,7 +209,8 @@ class ReactState {
209 if (alarm != null && alarm.getClearRule() != null) { 209 if (alarm != null && alarm.getClearRule() != null) {
210 for (TriggerDTO rule : alarm.getClearRule()) { 210 for (TriggerDTO rule : alarm.getClearRule()) {
211 if ((ScopeEnum.PART.equals(rule.getEntityType()) && !rule.getEntityId().contains(deviceId)) 211 if ((ScopeEnum.PART.equals(rule.getEntityType()) && !rule.getEntityId().contains(deviceId))
212 - || !alarmAction.getDeviceId().contains(deviceId)) { 212 +// || !alarmAction.getDeviceId().contains(deviceId)
  213 + ) {
213 continue; 214 continue;
214 } 215 }
215 216