@ -150,7 +150,15 @@ public class StaffServiceImpl implements StaffService { 
				
			 
			
		
	
		
		
			
				
					 
					 
								CustomerAgencyEntity  customerAgencyEntity  =  customerAgencyService . selectById ( fromDTO . getAgencyId ( ) ) ;  
					 
					 
								CustomerAgencyEntity  customerAgencyEntity  =  customerAgencyService . selectById ( fromDTO . getAgencyId ( ) ) ;  
				
			 
			
		
	
		
		
			
				
					 
					 
								fromDTO . setCustomerId ( customerAgencyEntity . getCustomerId ( ) ) ;  
					 
					 
								fromDTO . setCustomerId ( customerAgencyEntity . getCustomerId ( ) ) ;  
				
			 
			
		
	
		
		
			
				
					 
					 
							}  
					 
					 
							}  
				
			 
			
		
	
		
		
			
				
					
					 
					 
							return  epmetUserFeignClient . editStaffInit ( fromDTO ) ;  
					 
					 
							CustomerStaffAgencyDTO  customerStaffAgencyDTO = customerStaffAgencyService . getInfoByUserId ( fromDTO . getStaffId ( ) ) ;  
				
			 
			
				
				
			
		
	
		
		
	
		
		
			
				
					 
					 
					 
					 
					 
							if  ( null  = =  customerStaffAgencyDTO )  {  
				
			 
			
		
	
		
		
			
				
					 
					 
					 
					 
					 
								throw  new  EpmetException ( EpmetErrorCode . EPMET_COMMON_OPERATION_FAIL . getCode ( ) ,  "customer_staff_agency is null user_id :"  +  fromDTO . getStaffId ( ) ,  "查询用户所属组织为空" ) ;  
				
			 
			
		
	
		
		
			
				
					 
					 
					 
					 
					 
							}  
				
			 
			
		
	
		
		
			
				
					 
					 
					 
					 
					 
							Result < StaffInitResultDTO >  res = epmetUserFeignClient . editStaffInit ( fromDTO ) ;  
				
			 
			
		
	
		
		
			
				
					 
					 
					 
					 
					 
							if  ( res . success ( )  & &  null  ! =  res . getData ( ) )  {  
				
			 
			
		
	
		
		
			
				
					 
					 
					 
					 
					 
								res . getData ( ) . setAgencyId ( customerStaffAgencyDTO . getAgencyId ( ) ) ;  
				
			 
			
		
	
		
		
			
				
					 
					 
					 
					 
					 
							}  
				
			 
			
		
	
		
		
			
				
					 
					 
					 
					 
					 
							return  new  Result < StaffInitResultDTO > ( ) . ok ( res . getData ( ) ) ;  
				
			 
			
		
	
		
		
			
				
					 
					 
						}  
					 
					 
						}  
				
			 
			
		
	
		
		
			
				
					 
					 
					
 
					 
					 
					
 
				
			 
			
		
	
		
		
			
				
					 
					 
						@Override  
					 
					 
						@Override