| 
						
						
							
								
							
						
						
					 | 
					@ -147,7 +147,7 @@ public class CustomerServiceImpl extends BaseServiceImpl<CustomerDao, CustomerEn | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            validCustomers.stream().forEach(customer -> { | 
					 | 
					 | 
					            validCustomers.stream().forEach(customer -> { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                CustomerAgencyDTO rootAgency = rootAgencies.get(customer.getCustomerId()); | 
					 | 
					 | 
					                CustomerAgencyDTO rootAgency = rootAgencies.get(customer.getCustomerId()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                customer.setHasRootAgency(rootAgency == null ? false : true); | 
					 | 
					 | 
					                customer.setHasRootAgency(rootAgency == null ? false : true); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					                customer.setRootAgencyId(rootAgency == null ? null : rootAgency.getId()); | 
					 | 
					 | 
					                customer.setRootAgencyId(rootAgency == null ? "" : rootAgency.getId()); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					                if (rootAgency != null) { | 
					 | 
					 | 
					                if (rootAgency != null) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                    rootAgencyIds.add(rootAgency.getId()); | 
					 | 
					 | 
					                    rootAgencyIds.add(rootAgency.getId()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                } | 
					 | 
					 | 
					                } | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |