|
|
@ -742,6 +742,16 @@ public class CustomerStaffServiceImpl extends BaseServiceImpl<CustomerStaffDao, |
|
|
|
resultDTO.setLongitude(staffInfo.getLongitude()); |
|
|
|
resultDTO.setLatitude(staffInfo.getLatitude()); |
|
|
|
} |
|
|
|
//获取工作人员所属客户名
|
|
|
|
CustomerDTO dto = new CustomerDTO(); |
|
|
|
dto.setId(customerId); |
|
|
|
Result<CustomerDTO> customerResult = operCrmOpenFeignClient.getCustomerInfo(dto); |
|
|
|
if (!customerResult.success()) { |
|
|
|
throw new RenException(customerResult.getCode(), customerResult.getMsg()); |
|
|
|
} |
|
|
|
if (null != customerResult.getData()) { |
|
|
|
resultDTO.setCustomerName(customerResult.getData().getCustomerName()); |
|
|
|
} |
|
|
|
} |
|
|
|
return new Result<StaffBasicInfoResultDTO>().ok(resultDTO); |
|
|
|
} |
|
|
|