|
|
|
@ -143,21 +143,21 @@ public class ReportBusinessLineSectionServiceImpl implements ReportBusinessLineS |
|
|
|
// 本期按业务条线分组
|
|
|
|
// 本期按业务条线分组
|
|
|
|
Map<String, List<NegativeQueryVo>> currentGroup = currentList.stream() |
|
|
|
Map<String, List<NegativeQueryVo>> currentGroup = currentList.stream() |
|
|
|
.collect(Collectors.groupingBy( |
|
|
|
.collect(Collectors.groupingBy( |
|
|
|
NegativeQueryVo::getProblemSourcesCode, |
|
|
|
vo -> StrUtil.blankToDefault(vo.getProblemSourcesCode(), "UNKNOWN"), |
|
|
|
LinkedHashMap::new, |
|
|
|
LinkedHashMap::new, |
|
|
|
Collectors.toList() |
|
|
|
Collectors.toList() |
|
|
|
)); |
|
|
|
)); |
|
|
|
// 环比分组
|
|
|
|
// 环比分组
|
|
|
|
Map<String, List<NegativeQueryVo>> momGroup = momList.stream() |
|
|
|
Map<String, List<NegativeQueryVo>> momGroup = momList.stream() |
|
|
|
.collect(Collectors.groupingBy( |
|
|
|
.collect(Collectors.groupingBy( |
|
|
|
NegativeQueryVo::getProblemSourcesCode, |
|
|
|
vo -> StrUtil.blankToDefault(vo.getProblemSourcesCode(), "UNKNOWN"), |
|
|
|
LinkedHashMap::new, |
|
|
|
LinkedHashMap::new, |
|
|
|
Collectors.toList() |
|
|
|
Collectors.toList() |
|
|
|
)); |
|
|
|
)); |
|
|
|
// 同比分组
|
|
|
|
// 同比分组
|
|
|
|
Map<String, List<NegativeQueryVo>> yoyGroup = yoyList.stream() |
|
|
|
Map<String, List<NegativeQueryVo>> yoyGroup = yoyList.stream() |
|
|
|
.collect(Collectors.groupingBy( |
|
|
|
.collect(Collectors.groupingBy( |
|
|
|
NegativeQueryVo::getProblemSourcesCode, |
|
|
|
vo -> StrUtil.blankToDefault(vo.getProblemSourcesCode(), "UNKNOWN"), |
|
|
|
LinkedHashMap::new, |
|
|
|
LinkedHashMap::new, |
|
|
|
Collectors.toList() |
|
|
|
Collectors.toList() |
|
|
|
)); |
|
|
|
)); |
|
|
|
|