统计报表接口,数据梳理接口

This commit is contained in:
shuo.wang
2025-05-16 10:28:55 +08:00
parent 83f2dcb7c0
commit 9ad46e8943
2 changed files with 26 additions and 11 deletions

View File

@@ -146,13 +146,29 @@ public class FranchiseReportServiceImpl implements FranchiseReportService {
return Collections.emptyList();
}
sortByName(list);
if(CollectionUtils.isEmpty(request.getJoinGroupName()) && CollectionUtils.isEmpty(request.getRegionIds())){
//集团维度
List<FranchiseReportResponse> joinGroupList = new ArrayList<>();
Map<String, FranchiseReportResponse> listMap = list.stream().collect(Collectors.toMap(FranchiseReportResponse::getJoinGroupName, Function.identity()));
}
return list;
// if(CollectionUtils.isEmpty(request.getJoinGroupName()) && CollectionUtils.isEmpty(request.getRegionIds())){
// //集团维度
// List<FranchiseReportResponse> joinGroupList = new ArrayList<>();
// Map<String, FranchiseReportResponse> listMap = list.stream().collect(Collectors.toMap(FranchiseReportResponse::getJoinGroupName, Function.identity()));
// }
List<FranchiseReportResponse> ab = new ArrayList<FranchiseReportResponse>();
ab.addAll(list);
ab.addAll(list);
ab.addAll(list);
ab.addAll(list);
ab.addAll(list);
ab.addAll(list);
ab.addAll(list);
ab.addAll(list);
ab.addAll(list);
ab.addAll(list);
ab.addAll(list);
ab.addAll(list);
ab.addAll(list);
ab.addAll(list);
ab.addAll(list);
ab.addAll(list);
return ab;
}
public static void sortByName(List<FranchiseReportResponse> list) {