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
03f7bc0f
Commit
03f7bc0f
authored
Sep 28, 2022
by
RuoYi
Browse files
导入更新用户数据前校验数据权限
parent
e95a1245
Changes
1
Hide whitespace changes
Inline
Side-by-side
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysUserServiceImpl.java
View file @
03f7bc0f
...
...
@@ -508,6 +508,8 @@ public class SysUserServiceImpl implements ISysUserService
else
if
(
isUpdateSupport
)
{
BeanValidators
.
validateWithException
(
validator
,
user
);
checkUserAllowed
(
user
);
checkUserDataScope
(
user
.
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