|
|
@@ -279,6 +279,9 @@ public class SysUserServiceImpl implements ISysUserService { |
|
|
userPostMapper.deleteUserPostByUserId(userId); |
|
|
userPostMapper.deleteUserPostByUserId(userId); |
|
|
// 新增用户与岗位管理 |
|
|
// 新增用户与岗位管理 |
|
|
insertUserPost(user); |
|
|
insertUserPost(user); |
|
|
|
|
|
if (user.getUserId().equals(SecurityUtils.getLoginUser().getSysUser().getUserId())) { |
|
|
|
|
|
SecurityUtils.getLoginUser().setSysUser(user); |
|
|
|
|
|
} |
|
|
return userMapper.updateUser(user); |
|
|
return userMapper.updateUser(user); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|