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