|
|
@@ -356,7 +356,7 @@ class SettlementWinFail
|
|
|
}
|
|
|
|
|
|
$table = 'st_' . $game_code . '_competition';
|
|
|
- $ret = DB::table($table)->where('id', $batch_id)->first();
|
|
|
+ $ret = DB::table($table)->where('match_id', $batch_id)->first();
|
|
|
if (count($ret) <= 0) {
|
|
|
throw new \Exception('根据比赛ID获取赛事数据有误-'.$game_code.'-'.$batch_id);
|
|
|
}
|