Browse Source

add: 格式化机组名称

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

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

@ -317,7 +317,6 @@ public class RunMonthServiceImpl extends ServiceImpl<RunMonthMapper, RunMonthEnt
// 将设备名称拼接位标准格式
List<RunReportDataAnalyseDTO> analyseDTOList = analyseVOList.stream()
.sorted(Comparator.comparing(RunReportDataAnalyseDTO::getDeviceOrder))
.peek(a -> a.setEmName(a.getDeviceOrder() + "#机组"))
.collect(Collectors.toList());
analyseRequest.setAnalyseDTOS(analyseDTOList);
dataAnalyseClient.smartReportGeneratePower(analyseRequest);

Loading…
Cancel
Save