|  |  | @ -2924,6 +2924,7 @@ public class ProjectServiceImpl extends BaseServiceImpl<ProjectDao, ProjectEntit | 
			
		
	
		
			
				
					|  |  |  | 		if (CollectionUtils.isEmpty(sonOrgList.getData())){ | 
			
		
	
		
			
				
					|  |  |  | 			return result; | 
			
		
	
		
			
				
					|  |  |  | 		} | 
			
		
	
		
			
				
					|  |  |  | 		// 所有子级orgId,并构建全部数据
 | 
			
		
	
		
			
				
					|  |  |  | 		List<SonOrgResultDTO> orgIds = sonOrgList.getData(); | 
			
		
	
		
			
				
					|  |  |  | 		for (SonOrgResultDTO o : orgIds) { | 
			
		
	
		
			
				
					|  |  |  | 			ProjectDistributionAnalysisRightDTO dto = new ProjectDistributionAnalysisRightDTO(); | 
			
		
	
	
		
			
				
					|  |  | @ -2932,7 +2933,7 @@ public class ProjectServiceImpl extends BaseServiceImpl<ProjectDao, ProjectEntit | 
			
		
	
		
			
				
					|  |  |  | 		} | 
			
		
	
		
			
				
					|  |  |  | 		List<ProjectDistributionAnalysisRightDTO> dtos; | 
			
		
	
		
			
				
					|  |  |  | 		if (!agencyInfo.getLevel().equals(ProjectConstant.ORG_LEVEL_COMMUNITY)){ | 
			
		
	
		
			
				
					|  |  |  | 			dtos = baseDao.selectProjectCountByOrg(orgIds.stream().map(m -> m.getOrgId()).collect(Collectors.toList()), formDTO.getStartDate(), formDTO.getEndDate()); | 
			
		
	
		
			
				
					|  |  |  | 			dtos = baseDao.selectProjectCountByOrg(orgIds, formDTO.getStartDate(),formDTO.getEndDate()); | 
			
		
	
		
			
				
					|  |  |  | 		}else { | 
			
		
	
		
			
				
					|  |  |  | 			Result<List<ProjectDistributionAnalysisRightDTO>> projectCountByGrid = govIssueOpenFeignClient.getProjectCountByGrid(formDTO); | 
			
		
	
		
			
				
					|  |  |  | 			if (!projectCountByGrid.success()){ | 
			
		
	
	
		
			
				
					|  |  | 
 |