From ff5b12e0787cb03d40dd09a0f214a8daea30f1a0 Mon Sep 17 00:00:00 2001 From: yang_shj <1069818635@QQ.com> Date: Wed, 26 Apr 2023 10:41:14 +0800 Subject: [PATCH] =?UTF-8?q?#bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../operational/alert/service/impl/HistoryAbnormalAlarmServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;