vali 6 年之前
父節點
當前提交
a4ccd0dbc2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Lib/Settlement/SettlementWinFail.php

+ 1 - 1
app/Lib/Settlement/SettlementWinFail.php

@@ -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);
         }