Browse Source

fix: 水电站运行月报告分析参数拼接

zhongwei
haungxing 3 months ago
parent
commit
adbcf3089e
  1. 2
      hzims-service/operational/src/main/java/com/hnac/hzims/operational/report/service/impl/RunMonthServiceImpl.java

2
hzims-service/operational/src/main/java/com/hnac/hzims/operational/report/service/impl/RunMonthServiceImpl.java

@ -365,7 +365,7 @@ public class RunMonthServiceImpl extends ServiceImpl<RunMonthMapper, RunMonthEnt
// 告警信息
List<SoeDataDTO> 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;

Loading…
Cancel
Save