| 
						
						
							
								
							
						
						
					 | 
					@ -46,7 +46,11 @@ public class AgencyServiceImpl implements AgencyService { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        if (null == rootAgency){ | 
					 | 
					 | 
					        if (null == rootAgency){ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            return new TreeResultDTO(); | 
					 | 
					 | 
					            return new TreeResultDTO(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        } | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					        List<TreeResultDTO> departmentList = this.getDepartmentList(("".equals(rootAgency.getPids()) ? "" : rootAgency.getPids() + ",") + rootAgency.getValue()); | 
					 | 
					 | 
					        String sub = null; | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        if ("".equals(rootAgency.getPids()) || rootAgency.getPids().equals("0")){ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            sub = rootAgency.getValue(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        List<TreeResultDTO> departmentList = this.getDepartmentList(sub); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        rootAgency.setChildren(departmentList); | 
					 | 
					 | 
					        rootAgency.setChildren(departmentList); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        return rootAgency; | 
					 | 
					 | 
					        return rootAgency; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    } | 
					 | 
					 | 
					    } | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |