Browse Source

#bug修改

zhongwei
yang_shj 2 years ago
parent
commit
ff5b12e078
  1. 2
      hzims-service/operational/src/main/java/com/hnac/hzims/operational/alert/service/impl/HistoryAbnormalAlarmServiceImpl.java

2
hzims-service/operational/src/main/java/com/hnac/hzims/operational/alert/service/impl/HistoryAbnormalAlarmServiceImpl.java

@ -279,7 +279,7 @@ public class HistoryAbnormalAlarmServiceImpl extends BaseServiceImpl<HistoryAbno
}).sorted(Comparator.comparing(AlarmDataVo::getIsHandle) }).sorted(Comparator.comparing(AlarmDataVo::getIsHandle)
.thenComparing(AlarmDataVo::getTs, Comparator.reverseOrder())).collect(Collectors.toList()); .thenComparing(AlarmDataVo::getTs, Comparator.reverseOrder())).collect(Collectors.toList());
response.setCount((int) datas.stream().filter(data-> !data.getIsBinding()).count()); response.setCount((int) datas.stream().filter(data-> !data.getIsHandle()).count());
response.setSoeList(datas); response.setSoeList(datas);
response.setTotal(result.getData().getTotal()); response.setTotal(result.getData().getTotal());
return response; return response;

Loading…
Cancel
Save