vali %!s(int64=6) %!d(string=hai) anos
pai
achega
a4ccd0dbc2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
         }