Browse Source

客户档案管理,客户意向车型

master
hanlinghao 3 years ago
parent
commit
c6a6764eb6
  1. 4
      anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busdepositvehicle/BusDepositVehicleService.java
  2. 2
      anrui-crm/anrui-crm-api/src/main/java/com/yxt/anrui/crm/api/crmcustomertemp/AppCrmCustomerTempBasicsDetailsVo.java
  3. 5
      anrui-crm/anrui-crm-api/src/main/java/com/yxt/anrui/crm/api/crmcustomertemp/AppCrmCustomerTempInfoVo.java
  4. 8
      anrui-crm/anrui-crm-biz/src/main/java/com/yxt/anrui/crm/biz/crmcustomertemp/CrmCustomerTempMapper.xml

4
anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busdepositvehicle/BusDepositVehicleService.java

@ -263,8 +263,8 @@ public class BusDepositVehicleService extends MybatisBaseService<BusDepositVehic
String customerSid = appBusDepositVehicleCarListVo.getCustomerSid();
ResultBean<AppCrmCustomerTempInfoVo> CustomerTempDetails = crmCustomerTempFeign.getAppCustomerTempDetailsBySid(customerSid);
vo.setMobile(CustomerTempDetails.getData().getMobile());
vo.setWeiXin(CustomerTempDetails.getData().getWeixin());
vo.setHeadImage(CustomerTempDetails.getData().getCustomerPhoto());
// vo.setWeiXin(CustomerTempDetails.getData().getWeixin());
// vo.setHeadImage(CustomerTempDetails.getData().getCustomerPhoto());
vo.setCustomerName(CustomerTempDetails.getData().getName());
vo.setCustomerSid(CustomerTempDetails.getData().getSid());
String staffSid = CustomerTempDetails.getData().getStaffSid();

2
anrui-crm/anrui-crm-api/src/main/java/com/yxt/anrui/crm/api/crmcustomertemp/AppCrmCustomerTempBasicsDetailsVo.java

@ -1,5 +1,6 @@
package com.yxt.anrui.crm.api.crmcustomertemp;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.yxt.common.core.vo.Vo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@ -97,6 +98,7 @@ public class AppCrmCustomerTempBasicsDetailsVo implements Vo {
private String certificateTypeKey;
@ApiModelProperty("证件号码")
@JsonProperty("IDNumber")
private String IDNumber;
@ApiModelProperty("证件有效期")

5
anrui-crm/anrui-crm-api/src/main/java/com/yxt/anrui/crm/api/crmcustomertemp/AppCrmCustomerTempInfoVo.java

@ -28,6 +28,11 @@ import java.util.List;
@Data
public class AppCrmCustomerTempInfoVo implements Vo {
@ApiModelProperty("客户sid")
private String sid;
@ApiModelProperty("销售人sid")
private String staffSid;
@ApiModelProperty("客户类型")
private String customerType;
@ApiModelProperty("客户类型")

8
anrui-crm/anrui-crm-biz/src/main/java/com/yxt/anrui/crm/biz/crmcustomertemp/CrmCustomerTempMapper.xml

@ -127,7 +127,7 @@
resultType="com.yxt.anrui.crm.api.crmcustomertemp.AppCrmCustomerTempBasicsDetailsVo">
SELECT cct.customerType,
cct.customerTypeKey,
cct.`name`,
cct.contacts AS `name`,
cct.mobile,
cct.weixin,
cct.companyName,
@ -166,13 +166,15 @@
<!--初始化客户详情 - 基础信息接口-->
<select id="getAppCustomerTempDetailsBySid"
resultType="com.yxt.anrui.crm.api.crmcustomertemp.AppCrmCustomerTempInfoVo">
SELECT cct.customerType,
SELECT cct.sid,
cct.staffSid,
cct.customerType,
cct.customerTypeKey,
cct.companyName,
cct.weiXin,
cct.mobile,
cct.emergencyMobile AS mobile2,
cct.`name`,
cct.contacts AS `name`,
cct.emergencyContact AS name2,
cct.address,
cct.(province + city + county) AS addressNss,

Loading…
Cancel
Save