修复切换赛程没有竞猜信息
parent
470a104809
commit
f0cb24a2e3
|
@ -82,7 +82,6 @@ public class ChampionshipLogic {
|
|||
}
|
||||
List<Object> arenaIds = new ArrayList<>(arenaRecodeds);
|
||||
List<ArenaRecord> arenaRecords = RedisUtil.getInstence().getMapEntrys(RedisKey.CHAMPION_ARENA_RECORD, "", arenaIds, ArenaRecord.class);
|
||||
Map<Integer, SArenaRobotConfig> config = STableManager.getConfig(SArenaRobotConfig.class);
|
||||
ArenaInfoProto.ChampionViewFinalResponse.Builder builder = ArenaInfoProto.ChampionViewFinalResponse.newBuilder();
|
||||
String selectIdForRedis = getSelectIdForRedis();
|
||||
for (ArenaRecord arenaRecord : arenaRecords) {
|
||||
|
@ -1147,7 +1146,11 @@ public class ChampionshipLogic {
|
|||
|
||||
public static String getSelectIdForRedis(){
|
||||
String key = RedisUtil.getInstence().getKey(RedisKey.CHAMPION_CUR_BETID, "");
|
||||
return RedisUtil.getInstence().get(key).toString();
|
||||
Object result = RedisUtil.getInstence().get(key);
|
||||
if(result!=null){
|
||||
return result.toString();
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue