|
@@ -58,9 +58,13 @@ public class RoleManageServiceImpl implements IRoleManageService {
|
|
|
//角色注册子游戏
|
|
|
criA.where().andInList("role_reg_game_id", dto.getGameId());
|
|
|
}
|
|
|
- if (CollectionUtils.isNotEmpty(dto.getParentGameId())) {
|
|
|
+ if (CollectionUtils.isNotEmpty(dto.getParentGameIds())) {
|
|
|
//角色注册父游戏
|
|
|
- criA.where().andInList("role_reg_parent_game_id", dto.getParentGameId());
|
|
|
+ criA.where().andInList("role_reg_parent_game_id", dto.getParentGameIds());
|
|
|
+ }
|
|
|
+ if (dto.getSuperGameId() != null) {
|
|
|
+ //角色注册超父游戏
|
|
|
+ criA.where().andEquals("role_reg_super_game_id", dto.getSuperGameId());
|
|
|
}
|
|
|
if (StringUtils.isNotBlank(dto.getSourceSystem())) {
|
|
|
criA.where().andEquals("source_system", dto.getSourceSystem());
|