|  |  | @ -25,6 +25,7 @@ import com.epmet.commons.mybatis.service.impl.BaseServiceImpl; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.commons.tools.constant.FieldConstant; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.commons.tools.constant.NumConstant; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.commons.tools.constant.ServiceConstant; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.commons.tools.constant.StrConstant; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.commons.tools.dto.result.CustomerStaffInfoCacheResult; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.commons.tools.exception.EpmetErrorCode; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.commons.tools.exception.ExceptionUtils; | 
			
		
	
	
		
			
				
					|  |  | @ -732,19 +733,20 @@ public class CustomerStaffServiceImpl extends BaseServiceImpl<CustomerStaffDao, | 
			
		
	
		
			
				
					|  |  |  | 	} | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | 	@Override | 
			
		
	
		
			
				
					|  |  |  |     public Result<StaffBasicInfoResultDTO> selectStaffBasicInfo(String userId,String customerId) { | 
			
		
	
		
			
				
					|  |  |  | 	public Result<StaffBasicInfoResultDTO> selectStaffBasicInfo(String userId, String customerId) { | 
			
		
	
		
			
				
					|  |  |  | 		StaffBasicInfoResultDTO resultDTO = baseDao.selectStaffBasicInfo(userId); | 
			
		
	
		
			
				
					|  |  |  | 		if(null!=resultDTO){ | 
			
		
	
		
			
				
					|  |  |  | 			resultDTO.setRoleList(baseDao.selectStaffRoles(userId,resultDTO.getCustomerId())); | 
			
		
	
		
			
				
					|  |  |  | 		if (null != resultDTO) { | 
			
		
	
		
			
				
					|  |  |  | 			resultDTO.setRoleList(baseDao.selectStaffRoles(userId, resultDTO.getCustomerId())); | 
			
		
	
		
			
				
					|  |  |  | 			CustomerStaffInfoCacheResult staffInfo = CustomerStaffRedis.getStaffInfo(customerId, userId); | 
			
		
	
		
			
				
					|  |  |  | 			if (null != staffInfo){ | 
			
		
	
		
			
				
					|  |  |  | 			if (null != staffInfo) { | 
			
		
	
		
			
				
					|  |  |  | 				resultDTO.setAgencyId(staffInfo.getAgencyId()); | 
			
		
	
		
			
				
					|  |  |  | 				resultDTO.setAgencyName(staffInfo.getAgencyName()); | 
			
		
	
		
			
				
					|  |  |  | 				resultDTO.setLevel(staffInfo.getLevel()); | 
			
		
	
		
			
				
					|  |  |  | 				resultDTO.setLongitude(staffInfo.getLongitude()); | 
			
		
	
		
			
				
					|  |  |  | 				resultDTO.setLatitude(staffInfo.getLatitude()); | 
			
		
	
		
			
				
					|  |  |  | 				AgencyInfoCache agency= CustomerOrgRedis.getAgencyInfo(staffInfo.getAgencyId()); | 
			
		
	
		
			
				
					|  |  |  | 				AgencyInfoCache agency = CustomerOrgRedis.getAgencyInfo(staffInfo.getAgencyId()); | 
			
		
	
		
			
				
					|  |  |  | 				resultDTO.setAreaCodePath(null != agency && !CollectionUtils.isEmpty(agency.getAreaCodePath()) ? agency.getAreaCodePath() : new ArrayList<>()); | 
			
		
	
		
			
				
					|  |  |  | 				resultDTO.setAreaCode(null != agency && StringUtils.isNotBlank(agency.getAreaCode()) ? agency.getAreaCode() : StrConstant.EPMETY_STR); | 
			
		
	
		
			
				
					|  |  |  | 			} | 
			
		
	
		
			
				
					|  |  |  | 			//获取工作人员所属客户名
 | 
			
		
	
		
			
				
					|  |  |  | 			CustomerDTO dto = new CustomerDTO(); | 
			
		
	
	
		
			
				
					|  |  | 
 |