11
This commit is contained in:
1 parent
fdc9653ffd
commit
38d1acf27a
1 file changed
+3
-1
+3
-1
@@ -274,7 +274,9 @@ public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> impl
|
||||
*/
|
||||
@Override
|
||||
public IPage<UserVO> getUsersWithRolePage(Page page, UserDTO userDTO, DataScope dataScope) {
|
||||
dataScope.setScopeUserName(null);
|
||||
if (ObjectUtil.isNotEmpty(dataScope)) {
|
||||
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