|
|
@ -167,7 +167,7 @@ public class OrgRankExtractServiceImpl implements OrgRankExtractService { |
|
|
|
//项目数
|
|
|
|
List<OrgStatisticsResultDTO> projectList = factOriginProjectMainDailyService.getOrgProjectCount(customerId, monthId, OrgTypeConstant.COMMUNITY); |
|
|
|
if (CollectionUtils.isNotEmpty(projectList)) { |
|
|
|
list.forEach(entity -> projectList.stream().filter(item -> item.getOrgId().equals(entity.getOrgId())).forEach(dto -> |
|
|
|
list.forEach(entity -> projectList.stream().filter(item -> item.getAgencyId().equals(entity.getOrgId())).forEach(dto -> |
|
|
|
entity.setProjectTotal(dto.getCount()) |
|
|
|
)); |
|
|
|
} |
|
|
@ -234,7 +234,7 @@ public class OrgRankExtractServiceImpl implements OrgRankExtractService { |
|
|
|
//项目数
|
|
|
|
List<OrgStatisticsResultDTO> projectList = factOriginProjectMainDailyService.getOrgProjectCount(customerId, monthId, OrgTypeConstant.STREET); |
|
|
|
if (CollectionUtils.isNotEmpty(projectList)) { |
|
|
|
list.forEach(entity -> projectList.stream().filter(item -> item.getOrgId().equals(entity.getOrgId())).forEach(dto -> |
|
|
|
list.forEach(entity -> projectList.stream().filter(item -> item.getAgencyId().equals(entity.getOrgId())).forEach(dto -> |
|
|
|
entity.setProjectTotal(dto.getCount()) |
|
|
|
)); |
|
|
|
} |
|
|
|