diff --git a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/alert/service/impl/HistoryAbnormalAlarmServiceImpl.java b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/alert/service/impl/HistoryAbnormalAlarmServiceImpl.java index 220f90f..1e8a190 100644 --- a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/alert/service/impl/HistoryAbnormalAlarmServiceImpl.java +++ b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/alert/service/impl/HistoryAbnormalAlarmServiceImpl.java @@ -279,7 +279,7 @@ public class HistoryAbnormalAlarmServiceImpl extends BaseServiceImpl !data.getIsBinding()).count()); + response.setCount((int) datas.stream().filter(data-> !data.getIsHandle()).count()); response.setSoeList(datas); response.setTotal(result.getData().getTotal()); return response;