注释datascope为空用户端的报错
This commit is contained in:
1 parent
d4c42f2c18
commit
9fd3a11b42
1 file changed
+1
-1
+1
-1
@@ -258,7 +258,7 @@ public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> impl
|
||||
@Override
|
||||
public IPage<UserVO> getUsersWithRolePage(Page page, UserDTO userDTO) {
|
||||
DataScope dataScope = DataScope.of();
|
||||
dataScope.setScopeUserName(null);
|
||||
// dataScope.setScopeUserName(null);
|
||||
IPage<UserVO> list = baseMapper.getUserVosPage(page, userDTO, dataScope);
|
||||
if (ObjectUtil.isNotEmpty(list.getRecords())) {
|
||||
List<Long> userIds = list.getRecords().stream().map(UserVO::getUserId).distinct().toList();
|
||||
|
||||
Reference in new issue
Block a user