Browse Source

专家统计

master
PoffyZhang 9 months ago
parent
commit
d24bf35d27
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      pmapi/src/main/java/com/ningdatech/pmapi/dashboard/manage/ExpertStatisticsManage.java

+ 3
- 2
pmapi/src/main/java/com/ningdatech/pmapi/dashboard/manage/ExpertStatisticsManage.java View File

@@ -173,8 +173,9 @@ public class ExpertStatisticsManage {
Map<Long, ExpertUserFullInfo> expertMap = experts.stream().filter(e -> userSet.add(e.getUserId())) Map<Long, ExpertUserFullInfo> expertMap = experts.stream().filter(e -> userSet.add(e.getUserId()))
.collect(Collectors.toMap(ExpertUserFullInfo::getUserId, e -> e)); .collect(Collectors.toMap(ExpertUserFullInfo::getUserId, e -> e));


List<RegionDTO> regions = regionCacheHelper.listChildren(RegionConst.RC_LS, RegionConst.RL_COUNTY)
.stream().sorted(Comparator.comparing(RegionDTO::getRegionCode)).collect(Collectors.toList());
List<RegionDTO> regions = regionCacheHelper.listChildren(RegionConst.RC_LS, RegionConst.RL_CITY)
.stream().filter(r -> r.getRegionLevel().equals(RegionConst.RL_COUNTY))
.sorted(Comparator.comparing(RegionDTO::getRegionCode)).collect(Collectors.toList());


//是否要筛选年 //是否要筛选年
experts = experts.stream().filter(e -> { experts = experts.stream().filter(e -> {


Loading…
Cancel
Save