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
36ae2380
Commit
36ae2380
authored
4 years ago
by
ilal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
8c6b4b0c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
src/main/java/cn/timer/api/controller/crm/CrmController.java
+7
-2
No files found.
src/main/java/cn/timer/api/controller/crm/CrmController.java
View file @
36ae2380
...
@@ -1481,13 +1481,14 @@ public class CrmController {
...
@@ -1481,13 +1481,14 @@ public class CrmController {
Integer
cid
=
crmClientData
.
getId
();
Integer
cid
=
crmClientData
.
getId
();
if
(
linkname
!=
null
&&
linkcellphone
!=
null
)
{
CrmClientContacts
contacts
=
new
CrmClientContacts
();
CrmClientContacts
contacts
=
new
CrmClientContacts
();
contacts
.
setName
(
linkname
);
contacts
.
setName
(
linkname
);
contacts
.
setCellphone
(
linkcellphone
);
contacts
.
setCellphone
(
linkcellphone
);
contacts
.
setCompany
(
linkcompany
);
contacts
.
setCompany
(
linkcompany
);
if
(
linkgender
==
"女"
)
if
((
"女"
).
equals
(
linkgender
)
)
contacts
.
setGender
(
0
);
contacts
.
setGender
(
0
);
else
if
(
linkgender
==
"男"
)
else
if
((
"男"
).
equals
(
linkgender
)
)
contacts
.
setGender
(
1
);
contacts
.
setGender
(
1
);
else
else
contacts
.
setGender
(
null
);
contacts
.
setGender
(
null
);
...
@@ -1501,6 +1502,10 @@ public class CrmController {
...
@@ -1501,6 +1502,10 @@ public class CrmController {
contacts
.
insert
();
contacts
.
insert
();
}
}
}
}
}
return
ResultUtil
.
success
(
"导入成功"
);
return
ResultUtil
.
success
(
"导入成功"
);
}
}
...
...
This diff is collapsed.
Click to expand it.
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