|
@@ -53,7 +53,7 @@ public class GameListServiceImpl implements IGameListService {
|
|
|
public GameListVO getGameList(ChoiceListDTO dto) {
|
|
|
GameAuthUserVO userGameInfo = gameAuthRpc.getGameAuthByUserIds().getData();
|
|
|
List<Long> gameIds = dataPowerComponent.getFullGameIdList(userGameInfo.getGameIdList());
|
|
|
- log.error("userId:{},下拉框游戏列表gameIds:{}", SecurityUtil.getUserId(),JsonUtil.toString(gameIds));
|
|
|
+ log.error("userId:{},下拉框游戏列表gameIds:{}", SecurityUtil.getUserId(), JsonUtil.toString(gameIds));
|
|
|
if (CollectionUtils.isEmpty(gameIds)) {
|
|
|
return null;
|
|
|
}
|
|
@@ -67,7 +67,7 @@ public class GameListServiceImpl implements IGameListService {
|
|
|
cri.where().andEquals("source_system", dto.getSourceSystem());
|
|
|
}
|
|
|
Criteria gameCri = Cnd.cri();
|
|
|
- if(CollectionUtils.isNotEmpty(gameIds)){
|
|
|
+ if (CollectionUtils.isNotEmpty(gameIds)) {
|
|
|
gameCri.where().andInList("a.id", gameIds);
|
|
|
}
|
|
|
|
|
@@ -124,6 +124,7 @@ public class GameListServiceImpl implements IGameListService {
|
|
|
on a.source_system = b.source_system AND a.parent_id = b.id
|
|
|
LEFT JOIN dm_game_order.t_game_super c
|
|
|
on a.source_system = c.source_system AND a.super_game_id = c.id
|
|
|
+ """ + gameCri + """
|
|
|
) a
|
|
|
""" + cri +
|
|
|
"""
|