竞猜记录

back_recharge
duhui 2021-10-22 14:49:35 +08:00
parent 8c9a4a73d0
commit 45c95ced6d
1 changed files with 2 additions and 2 deletions

View File

@ -96,8 +96,8 @@ public class RidingSwardLogic{
SRidingSwardConfig config = STableManager.getConfig(SRidingSwardConfig.class).get(1); SRidingSwardConfig config = STableManager.getConfig(SRidingSwardConfig.class).get(1);
// 一场比赛得时间,投注时间+比赛时间 // 一场比赛得时间,投注时间+比赛时间
int oneGameTime = config.getTime()[0] + config.getTime()[1]; int oneGameTime = config.getTime()[0] + config.getTime()[1];
// 第几轮
int time = TimeUtils.nowInt() - startTime; int time = TimeUtils.nowInt() - startTime;
// 第几轮
int round = 0; int round = 0;
if (time % oneGameTime == 0){ if (time % oneGameTime == 0){
round = time / oneGameTime; round = time / oneGameTime;
@ -427,7 +427,7 @@ public class RidingSwardLogic{
boolean judge = false; boolean judge = false;
for (RidingSwardRecord record : entry.getValue()) { for (RidingSwardRecord record : entry.getValue()) {
// 当前比赛结果不能显示 // 当前比赛结果不能显示
if (record.getTime() > (getTime()-config.getTime()[1])){ if (record.getRound() >= getRound()){
break; break;
} }
judge = recordBuild(record,getRankMap("")); judge = recordBuild(record,getRankMap(""));