| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -229,19 +229,19 @@ public class CustomerServiceImpl extends BaseServiceImpl<CustomerDao, CustomerEn | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            throw new RenException(EpmetErrorCode.OPER_ADD_CUSTOMER_ERROR.getCode()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        //// 2. 给客户初始化角色列表
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        //Result initResult = epmetUserFeignClient.initGovStaffRolesForCustomer(customerEntity.getId());
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        //if (!initResult.success()) {
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        //    throw new RenException("客户新增:为客户初始化角色调用user服务失败:".concat(initResult.toString()));
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        //}
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        //
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        ////3. 给客户初始化 定制化首页
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        //CustomerHomeDTO initHomeForm = new CustomerHomeDTO();
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        //initHomeForm.setCustomerId(customerEntity.getId());
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        //Result initHomeResult = operCustomizeFeignClient.init(initHomeForm);
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        //if (!initHomeResult.success()) {
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        //    throw new RenException("初始化首页失败:".concat(initHomeResult.getInternalMsg()));
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        //}
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        // 2. 给客户初始化角色列表
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        Result initResult = epmetUserFeignClient.initGovStaffRolesForCustomer(customerEntity.getId()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        if (!initResult.success()) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            throw new RenException("客户新增:为客户初始化角色调用user服务失败:".concat(initResult.toString())); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        //3. 给客户初始化 定制化首页
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        CustomerHomeDTO initHomeForm = new CustomerHomeDTO(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        initHomeForm.setCustomerId(customerEntity.getId()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        Result initHomeResult = operCustomizeFeignClient.init(initHomeForm); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        if (!initHomeResult.success()) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            throw new RenException("初始化首页失败:".concat(initHomeResult.getInternalMsg())); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        return customerEntity.getId(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    } | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |