|
@@ -277,7 +277,7 @@ class HttpServerSettelement
|
|
|
unset($chekArr);
|
|
unset($chekArr);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- $this->cgStatusSett($bettype, $game_code, $match_id);
|
|
|
|
|
|
|
+ $this->cgStatusSett($bettype, $game_code, $match_id, $change_status);
|
|
|
|
|
|
|
|
//分页处理数据
|
|
//分页处理数据
|
|
|
$PageOrder_ids_1 = array_chunk($order_ids, 500);
|
|
$PageOrder_ids_1 = array_chunk($order_ids, 500);
|
|
@@ -387,9 +387,9 @@ class HttpServerSettelement
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
//改状态为正在结算中
|
|
//改状态为正在结算中
|
|
|
- private function cgStatusSett($bet_type, $game_code, $match_id)
|
|
|
|
|
|
|
+ private function cgStatusSett($bet_type, $game_code, $match_id, $change_status)
|
|
|
{
|
|
{
|
|
|
- if ($bet_type != 1) {
|
|
|
|
|
|
|
+ if ($bet_type != 1 || $change_status != 1) {
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
$table1 = "st_" . $game_code . "_result";
|
|
$table1 = "st_" . $game_code . "_result";
|