|
|
@ -745,8 +745,11 @@ public class CustomerStaffServiceImpl extends BaseServiceImpl<CustomerStaffDao, |
|
|
|
resultDTO.setLongitude(staffInfo.getLongitude()); |
|
|
|
resultDTO.setLatitude(staffInfo.getLatitude()); |
|
|
|
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); |
|
|
|
if (agency != null){ |
|
|
|
resultDTO.setAreaCodePath(!CollectionUtils.isEmpty(agency.getAreaCodePath()) ? agency.getAreaCodePath() : new ArrayList<>()); |
|
|
|
resultDTO.setAreaCode(StringUtils.isNotBlank(agency.getAreaCode()) ? agency.getAreaCode() : StrConstant.EPMETY_STR); |
|
|
|
resultDTO.setLevel(agency.getLevel()); |
|
|
|
} |
|
|
|
} |
|
|
|
//获取工作人员所属客户名
|
|
|
|
CustomerDTO dto = new CustomerDTO(); |
|
|
|