|
|
|
@ -135,6 +135,11 @@ public class AlarmServiceImpl extends BaseServiceImpl<AlarmMapper, AlarmEntity>
|
|
|
|
|
if(!StringUtil.isEmpty(alarm.getAlarmType())){ |
|
|
|
|
wrapper.eq("ALARM_TYPE",alarm.getAlarmType()); |
|
|
|
|
} |
|
|
|
|
// 处理告警过滤 :当天处理告警
|
|
|
|
|
List<String> handles = alarmHandleService.handles(); |
|
|
|
|
if(!CollectionUtil.isEmpty(handles)){ |
|
|
|
|
wrapper.notIn("ALARM_ID",handles); |
|
|
|
|
} |
|
|
|
|
// 查询告警数据
|
|
|
|
|
List<AlarmEntity> alarms = this.list(wrapper); |
|
|
|
|
// 查询数量
|
|
|
|
|