|
|
@ -62,6 +62,7 @@ public class AlarmServiceImpl extends BaseServiceImpl<AlarmMapper, AlarmEntity> |
|
|
|
|
|
|
|
|
|
|
|
// 参数过滤 :站点、告警来源、告警子类
|
|
|
|
// 参数过滤 :站点、告警来源、告警子类
|
|
|
|
QueryWrapper wrapper = new QueryWrapper<>(); |
|
|
|
QueryWrapper wrapper = new QueryWrapper<>(); |
|
|
|
|
|
|
|
wrapper.orderByDesc("CREATE_TIME"); |
|
|
|
wrapper.eq("IS_RIGHT_TABULATION",0); |
|
|
|
wrapper.eq("IS_RIGHT_TABULATION",0); |
|
|
|
wrapper.in("STATION_ID",stations.stream().map(StationEntity::getCode).collect(Collectors.toList())); |
|
|
|
wrapper.in("STATION_ID",stations.stream().map(StationEntity::getCode).collect(Collectors.toList())); |
|
|
|
if(!StringUtil.isEmpty(alarm.getStationId())){ |
|
|
|
if(!StringUtil.isEmpty(alarm.getStationId())){ |
|
|
|