|
|
|
@ -310,6 +310,9 @@ public class RemoteUserServiceImpl implements RemoteUserService {
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public List<RemoteUserVo> selectListByIds(List<Long> userIds) {
|
|
|
|
public List<RemoteUserVo> selectListByIds(List<Long> userIds) {
|
|
|
|
|
|
|
|
if (CollUtil.isEmpty(userIds)) {
|
|
|
|
|
|
|
|
return new ArrayList<>();
|
|
|
|
|
|
|
|
}
|
|
|
|
List<SysUserVo> sysUserVos = userService.selectUserByIds(userIds, null);
|
|
|
|
List<SysUserVo> sysUserVos = userService.selectUserByIds(userIds, null);
|
|
|
|
return MapstructUtils.convert(sysUserVos, RemoteUserVo.class);
|
|
|
|
return MapstructUtils.convert(sysUserVos, RemoteUserVo.class);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@ -322,6 +325,9 @@ public class RemoteUserServiceImpl implements RemoteUserService {
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public List<Long> selectUserIdsByRoleIds(List<Long> roleIds) {
|
|
|
|
public List<Long> selectUserIdsByRoleIds(List<Long> roleIds) {
|
|
|
|
|
|
|
|
if (CollUtil.isEmpty(roleIds)) {
|
|
|
|
|
|
|
|
return new ArrayList<>();
|
|
|
|
|
|
|
|
}
|
|
|
|
return userService.selectUserIdsByRoleIds(roleIds);
|
|
|
|
return userService.selectUserIdsByRoleIds(roleIds);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|