|
@@ -508,8 +508,9 @@ public class SysUserServiceImpl implements ISysUserService
|
|
else if (isUpdateSupport)
|
|
else if (isUpdateSupport)
|
|
{
|
|
{
|
|
BeanValidators.validateWithException(validator, user);
|
|
BeanValidators.validateWithException(validator, user);
|
|
- checkUserAllowed(user);
|
|
|
|
- checkUserDataScope(user.getUserId());
|
|
|
|
|
|
+ checkUserAllowed(u);
|
|
|
|
+ checkUserDataScope(u.getUserId());
|
|
|
|
+ user.setUserId(u.getUserId());
|
|
user.setUpdateBy(operName);
|
|
user.setUpdateBy(operName);
|
|
this.updateUser(user);
|
|
this.updateUser(user);
|
|
successNum++;
|
|
successNum++;
|