|
@@ -544,7 +544,9 @@ class HttpServerOnlySet
|
|
|
|
|
|
|
|
if ($bettype == 1) {
|
|
if ($bettype == 1) {
|
|
|
$moneytable = 'money_buy_simplex';
|
|
$moneytable = 'money_buy_simplex';
|
|
|
- $ret = DB::table('money_buy_simplex')->where(['game_code' => $game_code, 'match_id' => $match_id, 'is_manual' => $is_manual])->whereIn('order_id', $order_ids)->get();
|
|
|
|
|
|
|
+ //$ret = DB::table('money_buy_simplex')->where(['game_code' => $game_code, 'match_id' => $match_id, 'is_manual' => $is_manual])->whereIn('order_id', $order_ids)->get();
|
|
|
|
|
+ $tmpwhere = [['game_code', '=', $game_code], ['match_id', '=', $match_id], ['is_manual', '=', $is_manual], ['roll_ratify', '>=', 0]];
|
|
|
|
|
+ $ret = DB::table('money_buy_simplex')->where($tmpwhere)->whereIn('order_id', $order_ids)->get();
|
|
|
} else {
|
|
} else {
|
|
|
$moneytable = 'money_buy_str';
|
|
$moneytable = 'money_buy_str';
|
|
|
$ret = DB::table('money_buy_str')->whereIn('order_id', $order_ids)->get();
|
|
$ret = DB::table('money_buy_str')->whereIn('order_id', $order_ids)->get();
|