Commit 7a1e4fb0 by leialin

Merge branch 'lal' into 'develop'

提交客户

See merge request 8timerv2/8timerapiv200!459
parents b6d6b829 4d0bd219
...@@ -155,6 +155,12 @@ public class CrmClientData extends Model<CrmClientData> { ...@@ -155,6 +155,12 @@ public class CrmClientData extends Model<CrmClientData> {
@ApiModelProperty(value = "企业id") @ApiModelProperty(value = "企业id")
private Integer orgCode; private Integer orgCode;
@ApiModelProperty(value = "微信")
private String wechat;
@ApiModelProperty(value = "产品")
private String product;
@Transient @Transient
@TableField(exist = false) @TableField(exist = false)
......
...@@ -1378,6 +1378,8 @@ public class CrmController { ...@@ -1378,6 +1378,8 @@ public class CrmController {
reader.addHeaderAlias("*客户名称(必填)", "clientName"); reader.addHeaderAlias("*客户名称(必填)", "clientName");
reader.addHeaderAlias("*所属分组(必填)", "belongGroupName"); reader.addHeaderAlias("*所属分组(必填)", "belongGroupName");
reader.addHeaderAlias("行业", "industryName"); reader.addHeaderAlias("行业", "industryName");
reader.addHeaderAlias("微信", "wechat");
reader.addHeaderAlias("产品", "product");
reader.addHeaderAlias("客户类型", "clientTypeName"); reader.addHeaderAlias("客户类型", "clientTypeName");
reader.addHeaderAlias("手机号码(客户)", "clientCellphone"); reader.addHeaderAlias("手机号码(客户)", "clientCellphone");
reader.addHeaderAlias("座机号码", "clientTelephone"); reader.addHeaderAlias("座机号码", "clientTelephone");
...@@ -1404,6 +1406,10 @@ public class CrmController { ...@@ -1404,6 +1406,10 @@ public class CrmController {
String clientUrl = crmClientDataImportVo.getClientUrl(); // 官网 String clientUrl = crmClientDataImportVo.getClientUrl(); // 官网
String clientEmail = crmClientDataImportVo.getClientEmail(); // 邮箱 String clientEmail = crmClientDataImportVo.getClientEmail(); // 邮箱
String clientAddress = crmClientDataImportVo.getAddress(); // 地址 String clientAddress = crmClientDataImportVo.getAddress(); // 地址
String wechat = crmClientDataImportVo.getWechat(); // 微信
String product = crmClientDataImportVo.getProduct(); // 产品
String linkname = crmClientDataImportVo.getLinkName(); // 联系人姓名 String linkname = crmClientDataImportVo.getLinkName(); // 联系人姓名
String linkcellphone = crmClientDataImportVo.getCellphone(); // 手机号码 String linkcellphone = crmClientDataImportVo.getCellphone(); // 手机号码
...@@ -1451,6 +1457,9 @@ public class CrmController { ...@@ -1451,6 +1457,9 @@ public class CrmController {
crmClientData.setBelongGroupName(belongGroupName); crmClientData.setBelongGroupName(belongGroupName);
crmClientData.setBelongGroup(crmBusinessGroup.getId()); crmClientData.setBelongGroup(crmBusinessGroup.getId());
crmClientData.setIndustryName(industryName); crmClientData.setIndustryName(industryName);
crmClientData.setWechat(wechat);
crmClientData.setProduct(product);
crmClientData.setClientTypeName(clientTypeName); crmClientData.setClientTypeName(clientTypeName);
......
...@@ -9,6 +9,7 @@ package cn.timer.api.dto.crm; ...@@ -9,6 +9,7 @@ package cn.timer.api.dto.crm;
import java.io.Serializable; import java.io.Serializable;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.Builder; import lombok.Builder;
import lombok.Data; import lombok.Data;
...@@ -48,6 +49,12 @@ public class CrmClientDataImportVo implements Serializable { ...@@ -48,6 +49,12 @@ public class CrmClientDataImportVo implements Serializable {
// 详细地址 // 详细地址
private String address; private String address;
//微信
private String wechat;
//产品
private String product;
// 联系人信息 // 联系人信息
private String linkName; private String linkName;
private String cellphone; private String cellphone;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment