Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
8
8timerapiv200
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
8timerv2
8timerapiv200
Commits
1e6eb68c
Commit
1e6eb68c
authored
Mar 29, 2023
by
284718418@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 导入客户信息
parent
2b67c8e5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
1 deletions
+17
-1
src/main/java/cn/timer/api/controller/crm/CrmController.java
+15
-1
src/main/java/cn/timer/api/dto/crm/CrmClientDataImportVo.java
+2
-0
No files found.
src/main/java/cn/timer/api/controller/crm/CrmController.java
View file @
1e6eb68c
...
@@ -1483,6 +1483,7 @@ public class CrmController {
...
@@ -1483,6 +1483,7 @@ public class CrmController {
reader
=
getReaderByUrl
(
url
);
reader
=
getReaderByUrl
(
url
);
reader
.
addHeaderAlias
(
"*客户名称(必填)"
,
"clientName"
);
reader
.
addHeaderAlias
(
"*客户名称(必填)"
,
"clientName"
);
reader
.
addHeaderAlias
(
"*所属分组(必填)"
,
"belongGroupName"
);
reader
.
addHeaderAlias
(
"*所属分组(必填)"
,
"belongGroupName"
);
reader
.
addHeaderAlias
(
"*状态(必填)"
,
"clientStatus"
);
reader
.
addHeaderAlias
(
"行业"
,
"industryName"
);
reader
.
addHeaderAlias
(
"行业"
,
"industryName"
);
reader
.
addHeaderAlias
(
"微信"
,
"wechat"
);
reader
.
addHeaderAlias
(
"微信"
,
"wechat"
);
reader
.
addHeaderAlias
(
"产品"
,
"product"
);
reader
.
addHeaderAlias
(
"产品"
,
"product"
);
...
@@ -1515,6 +1516,7 @@ public class CrmController {
...
@@ -1515,6 +1516,7 @@ public class CrmController {
String
clientName
=
crmClientDataImportVo
.
getClientName
();
// 客户名称(必填)
String
clientName
=
crmClientDataImportVo
.
getClientName
();
// 客户名称(必填)
String
belongGroupName
=
crmClientDataImportVo
.
getBelongGroupName
();
// 分组名(必填)
String
belongGroupName
=
crmClientDataImportVo
.
getBelongGroupName
();
// 分组名(必填)
String
industryName
=
crmClientDataImportVo
.
getIndustryName
();
// 行业名
String
industryName
=
crmClientDataImportVo
.
getIndustryName
();
// 行业名
String
clientStatus
=
crmClientDataImportVo
.
getClientStatus
();
// 客户数据状态(必填)
String
clientTypeName
=
crmClientDataImportVo
.
getClientTypeName
();
// 客户类型名
String
clientTypeName
=
crmClientDataImportVo
.
getClientTypeName
();
// 客户类型名
String
clientCellphone
=
crmClientDataImportVo
.
getClientCellphone
();
// 客户手机号
String
clientCellphone
=
crmClientDataImportVo
.
getClientCellphone
();
// 客户手机号
String
clientTelephone
=
crmClientDataImportVo
.
getClientTelephone
();
// 客户座机号
String
clientTelephone
=
crmClientDataImportVo
.
getClientTelephone
();
// 客户座机号
...
@@ -1582,7 +1584,19 @@ public class CrmController {
...
@@ -1582,7 +1584,19 @@ public class CrmController {
crmClientData
.
setBelongGroupName
(
belongGroupName
);
crmClientData
.
setBelongGroupName
(
belongGroupName
);
crmClientData
.
setBelongGroup
(
crmBusinessGroup
.
getId
());
crmClientData
.
setBelongGroup
(
crmBusinessGroup
.
getId
());
crmClientData
.
setIndustryName
(
industryName
);
crmClientData
.
setIndustryName
(
industryName
);
if
(
StringUtils
.
isNotBlank
(
clientStatus
)){
if
(
"潜在"
.
equals
(
clientStatus
)){
crmClientData
.
setClientStatus
(
1
);
}
else
if
(
"意向"
.
equals
(
clientStatus
)){
crmClientData
.
setClientStatus
(
2
);
}
else
if
(
"签约"
.
equals
(
clientStatus
)){
crmClientData
.
setClientStatus
(
3
);
}
else
if
(
"合作中"
.
equals
(
clientStatus
)){
crmClientData
.
setClientStatus
(
4
);
}
else
if
(
"已封档"
.
equals
(
clientStatus
)){
crmClientData
.
setClientStatus
(
5
);
}
}
crmClientData
.
setWechat
(
wechat
);
crmClientData
.
setWechat
(
wechat
);
crmClientData
.
setProduct
(
product
);
crmClientData
.
setProduct
(
product
);
...
...
src/main/java/cn/timer/api/dto/crm/CrmClientDataImportVo.java
View file @
1e6eb68c
...
@@ -34,6 +34,8 @@ public class CrmClientDataImportVo implements Serializable {
...
@@ -34,6 +34,8 @@ public class CrmClientDataImportVo implements Serializable {
private
String
clientName
;
private
String
clientName
;
// 组
// 组
private
String
belongGroupName
;
private
String
belongGroupName
;
// 客户数据状态
private
String
clientStatus
;
// 行业
// 行业
private
String
industryName
;
private
String
industryName
;
// 客户类型
// 客户类型
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment