|
@@ -234,7 +234,7 @@ public class GameServiceImpl extends ServiceImpl<GameMapper, Game> implements IG
|
|
|
}
|
|
|
return super.list(new LambdaQueryWrapper<Game>()
|
|
|
.in(!SecurityUtil.isAdmin(), Game::getId, tuple2.getT2())
|
|
|
- .select(Game::getId, Game::getName, Game::getCategory, Game::getSuperGameId))
|
|
|
+ .select(Game::getId, Game::getName, Game::getCategory, Game::getParentId, Game::getSuperGameId))
|
|
|
.stream()
|
|
|
.map(game -> BeanUtil.copy(game, GameChoiceVO.class))
|
|
|
.collect(Collectors.toList());
|