|
@@ -361,7 +361,7 @@ public class SysUserController extends BaseController {
|
|
|
boolean stop=false;
|
|
|
LoginUser loginUser = getLoginUser();
|
|
|
LambdaQueryWrapper<SysUserRole> wrapper=new LambdaQueryWrapper<>();
|
|
|
- wrapper.eq(SysUserRole::getUserId,loginUser.getUserId());
|
|
|
+ wrapper.eq(SysUserRole::getUserId,loginUser.getId());
|
|
|
List<SysUserRole> sysUserRoles = sysUserRoleMapper.selectList(wrapper);
|
|
|
for (SysUserRole sysUserRole : sysUserRoles) {
|
|
|
String roleKey = roleService.getRoleKey(sysUserRole.getRoleId());
|