fix
This commit is contained in:
@@ -219,6 +219,7 @@ public class FranchiseReportServiceImpl implements FranchiseReportService {
|
||||
log.info("查询门店数据为空");
|
||||
return null;
|
||||
}
|
||||
PageInfo franchiseReportDTOPageInfo = new PageInfo<>(shopFranchiseReportList);
|
||||
List<Long> shopIds = shopFranchiseReportList.stream().map(FranchiseReportDTO::getShopId).collect(Collectors.toList());
|
||||
Set<Long> regionSet = shopFranchiseReportList.stream().map(FranchiseReportDTO::getRegionId).collect(Collectors.toSet());
|
||||
Set<String> investmentManagerUsers = shopFranchiseReportList.stream().map(FranchiseReportDTO::getInvestmentManager).collect(Collectors.toSet());
|
||||
@@ -271,7 +272,8 @@ public class FranchiseReportServiceImpl implements FranchiseReportService {
|
||||
log.info("数据为空");
|
||||
return null;
|
||||
}
|
||||
return new PageInfo<>(list.stream().sorted(Comparator.comparing(ShopReportResponse::getBuildTime).reversed()).collect(Collectors.toList()));
|
||||
franchiseReportDTOPageInfo.setList(list.stream().sorted(Comparator.comparing(ShopReportResponse::getBuildTime).reversed()).collect(Collectors.toList()));
|
||||
return franchiseReportDTOPageInfo;
|
||||
}
|
||||
|
||||
public static void sortByName(List<FranchiseReportResponse> list) {
|
||||
|
||||
Reference in New Issue
Block a user