Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
RuoYi Vue
Commits
f5b865a2
Commit
f5b865a2
authored
Apr 10, 2023
by
RuoYi
Browse files
优化用户导入更新时需获取用户编号问题
parent
f7595e49
Changes
1
Hide whitespace changes
Inline
Side-by-side
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysUserServiceImpl.java
View file @
f5b865a2
...
...
@@ -508,8 +508,9 @@ public class SysUserServiceImpl implements ISysUserService
else
if
(
isUpdateSupport
)
{
BeanValidators
.
validateWithException
(
validator
,
user
);
checkUserAllowed
(
user
);
checkUserDataScope
(
user
.
getUserId
());
checkUserAllowed
(
u
);
checkUserDataScope
(
u
.
getUserId
());
user
.
setUserId
(
u
.
getUserId
());
user
.
setUpdateBy
(
operName
);
this
.
updateUser
(
user
);
successNum
++;
...
...
Write
Preview
Supports
Markdown
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