From adbcf3089e42ddb7728af2d382a0a15eca1e80c1 Mon Sep 17 00:00:00 2001 From: haungxing <1203316822@qq.com> Date: Wed, 28 Aug 2024 17:11:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B0=B4=E7=94=B5=E7=AB=99=E8=BF=90?= =?UTF-8?q?=E8=A1=8C=E6=9C=88=E6=8A=A5=E5=91=8A=E5=88=86=E6=9E=90=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E6=8B=BC=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hnac/hzims/operational/report/service/impl/RunMonthServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/report/service/impl/RunMonthServiceImpl.java b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/report/service/impl/RunMonthServiceImpl.java index 02b3e28..1e89e6d 100644 --- a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/report/service/impl/RunMonthServiceImpl.java +++ b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/report/service/impl/RunMonthServiceImpl.java @@ -365,7 +365,7 @@ public class RunMonthServiceImpl extends ServiceImpl soeDataDTOS = alarms.stream().filter(a -> deviceName.equals(a.getDeviceName())).map(alarm -> { SoeDataDTO soeDataDTO = new SoeDataDTO(); - soeDataDTO.setDate(month); + soeDataDTO.setDate(req.getMonth()); soeDataDTO.setName(alarm.getContent()); soeDataDTO.setTimes(alarm.getCount()); return soeDataDTO;