Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
agent-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
agent-platform
Commits
407ca98a
Commit
407ca98a
authored
May 09, 2025
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新评价统计计算
parent
595f868e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
agent-manager/src/main/java/com/mortals/xhx/module/staff/service/impl/StaffServiceImpl.java
...rtals/xhx/module/staff/service/impl/StaffServiceImpl.java
+9
-2
No files found.
agent-manager/src/main/java/com/mortals/xhx/module/staff/service/impl/StaffServiceImpl.java
View file @
407ca98a
...
...
@@ -83,8 +83,16 @@ public class StaffServiceImpl extends AbstractCRUDServiceImpl<StaffDao, StaffEnt
userEntity
.
setCustomerId
(
entity
.
getId
());
userService
.
getUserDao
().
insert
(
userEntity
);
entity
.
setUserId
(
userEntity
.
getId
());
//更新默认用户角色
RoleUserQuery
roleUserQuery
=
new
RoleUserQuery
();
roleUserQuery
.
setUserId
(
userEntity
.
getId
());
roleUserQuery
.
setRoleIdList
(
Arrays
.
asList
(
3L
));
roleUserService
.
doDistributionRole
(
roleUserQuery
);
entity
.
setUserId
(
userEntity
.
getId
());
this
.
dao
.
update
(
entity
);
super
.
saveAfter
(
entity
,
context
);
}
...
...
@@ -117,7 +125,6 @@ public class StaffServiceImpl extends AbstractCRUDServiceImpl<StaffDao, StaffEnt
userEntity
.
setPhone
(
entity
.
getPhoneNumber
());
userService
.
getUserDao
().
update
(
userEntity
);
//更新默认用户角色
RoleUserQuery
roleUserQuery
=
new
RoleUserQuery
();
roleUserQuery
.
setUserId
(
userEntity
.
getId
());
...
...
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