| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -104,18 +104,13 @@ public class GrassRootsGovernServiceImpl implements GrassRootsGovernService { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    @DataSource(value = DataSourceConstant.EVALUATION_INDEX,datasourceNameFromArg = true) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    @Override | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    public List<DifficultProjectResultDTO> difficultProject(AgencyNumTypeParamFormDTO param) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        List<String> nextAgencyIds = new ArrayList<>(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        List<DifficultProjectResultDTO> result = new ArrayList<>(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        if(null == param.getTopNum()){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            param.setTopNum(NumConstant.TWO); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        PageHelper.startPage(NumConstant.ONE,param.getTopNum()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        if (StringUtils.isNotEmpty(param.getAreaCode())){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            nextAgencyIds = screenCustomerAgencyService.getNextAgencyIds(param.getAreaCode(), param.getAgencyId()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            if (CollectionUtils.isEmpty(nextAgencyIds)){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                return new ArrayList<>(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            result = screenDifficultyDataDao.selectDifficultyNew(nextAgencyIds,param.getType()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            result = screenDifficultyDataDao.selectDifficultyByAreaCode(param.getAreaCode(),param.getType()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        }else { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            result = screenDifficultyDataDao.selectDifficulty(param.getAgencyId(),param.getType()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |