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
fad12c50
Commit
fad12c50
authored
4 years ago
by
邓实川
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
编辑优化
parent
1fd371cf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
src/main/java/cn/timer/api/controller/crm/CrmController.java
+4
-1
No files found.
src/main/java/cn/timer/api/controller/crm/CrmController.java
View file @
fad12c50
...
...
@@ -144,7 +144,9 @@ public class CrmController {
CrmSeaRule
crmSeaRule
=
crmBusinessGroup
.
getCrmSeaRules
();
crmSeaRule
.
setGid
(
gid
);
crmSeaRule
.
insert
();
return
ResultUtil
.
success
(
"新增业务组成功"
);
}
else
{
crmBusinessGroup
.
updateById
();
List
<
Integer
>
memberIds
=
crmBusinessGroup
.
getMemberIds
();
List
<
Integer
>
managerIds
=
crmBusinessGroup
.
getManagerIds
();
// 更新组成员
...
...
@@ -152,8 +154,9 @@ public class CrmController {
updateMembers
(
orgCode
,
gid
,
managerIds
,
1
);
// 更新公海规则
crmBusinessGroup
.
getCrmSeaRules
().
update
(
new
LambdaQueryWrapper
<
CrmSeaRule
>().
eq
(
CrmSeaRule:
:
getGid
,
gid
));
return
ResultUtil
.
success
(
"编辑业务组成功"
);
}
return
ResultUtil
.
success
(
"新增业务组成功"
);
}
private
void
insertMembers
(
Integer
gid
,
Integer
empId
,
Integer
orgCode
,
Integer
type
)
{
...
...
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