|
@@ -572,7 +572,7 @@ public class RoleManageServiceImpl implements IRoleManageService {
|
|
|
if(CollectionUtils.isEmpty(sendMsgTaskList.getRecords())){
|
|
|
return new Page<>(sendMsgTaskList.getRecords(),sendMsgTaskList.getTotal(),sendMsgTaskList.getSize(),sendMsgTaskList.getCurrent(),sendMsgTaskList.getPages());
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
Map<Long, String> gameMap = getParentGameMap();
|
|
|
|
|
|
|
|
@@ -611,7 +611,7 @@ public class RoleManageServiceImpl implements IRoleManageService {
|
|
|
}
|
|
|
|
|
|
|
|
|
- * 获取父游戏列表
|
|
|
+ * 获取游戏列表
|
|
|
*/
|
|
|
private Map<Long, String> getParentGameMap(){
|
|
|
Sql sql = Sqls.create(getGameSql());
|
|
@@ -619,8 +619,8 @@ public class RoleManageServiceImpl implements IRoleManageService {
|
|
|
sql.setEntity(dao.getEntity(GameDTO.class));
|
|
|
dao.execute(sql);
|
|
|
List<GameDTO> gameDtoList = sql.getList(GameDTO.class);
|
|
|
-
|
|
|
- return gameDtoList.stream().collect(Collectors.toMap(GameDTO::getParentId, GameDTO::getGameName));
|
|
|
+
|
|
|
+ return gameDtoList.stream().collect(Collectors.toMap(GameDTO::getId, GameDTO::getGameName));
|
|
|
}
|
|
|
|
|
|
|
|
@@ -714,7 +714,7 @@ public class RoleManageServiceImpl implements IRoleManageService {
|
|
|
parent_id,
|
|
|
super_game_id
|
|
|
FROM dm_game_order.t_game
|
|
|
- where source_system = 'ZX_ONE' and id = parent_id
|
|
|
+ where source_system = 'ZX_ONE'
|
|
|
""";
|
|
|
}
|
|
|
|