自定义报表优化处理

This commit is contained in:
2023-10-24 11:25:40 +08:00
parent 21c3f3647d
commit afab12d2ac
2 changed files with 2 additions and 3 deletions

View File

@@ -926,8 +926,7 @@ public class CustomReportServiceImpl implements CustomReportService {
//处理指标是否合格
reportLimitList = reportLimitList.stream()
.collect(Collectors.collectingAndThen(Collectors.toCollection(
() -> new TreeSet<>(Comparator.comparing(ReportTemplateDTO::getItemName))), ArrayList::new));
.collect(Collectors.collectingAndThen(Collectors.toCollection(() -> new TreeSet<>(Comparator.comparing(ReportTemplateDTO::getItemName))), ArrayList::new));
Map<String, Float> limitMap = overLimitDeal(reportLimitList, reportSearchParam);
//存放限值指标的map