|
|
@ -65,7 +65,7 @@ public class AlarmServiceImpl extends BaseServiceImpl<AlarmMapper, AlarmEntity> |
|
|
|
|
|
|
|
|
|
|
|
// 参数过滤 :站点、告警来源、告警子类
|
|
|
|
// 参数过滤 :站点、告警来源、告警子类
|
|
|
|
QueryWrapper wrapper = new QueryWrapper<>(); |
|
|
|
QueryWrapper wrapper = new QueryWrapper<>(); |
|
|
|
wrapper.orderByDesc("CREATE_TIME"); |
|
|
|
wrapper.orderByDesc("ALARM_TIME"); |
|
|
|
wrapper.eq("IS_RIGHT_TABULATION",0); |
|
|
|
wrapper.eq("IS_RIGHT_TABULATION",0); |
|
|
|
wrapper.eq("STATUS",0); |
|
|
|
wrapper.eq("STATUS",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())); |
|
|
|