diff --git a/Application/Admin/Controller/CompanyStatementSetController.class.php b/Application/Admin/Controller/CompanyStatementSetController.class.php index 12a01ee9e..e4dd85e72 100644 --- a/Application/Admin/Controller/CompanyStatementSetController.class.php +++ b/Application/Admin/Controller/CompanyStatementSetController.class.php @@ -1371,7 +1371,7 @@ class CompanyStatementSetController extends Controller { }elseif($type == 0){ // $tratio =$this->getTurnoverRatio($p_info['all_pay_amount'],$tmp_game_ratio['ratio'],$tmp_game_ratio['turnover_ratio']); // $tratio = $tmp_game_ratio['ratio']; - $turnover_type = $this->getTurnoverType($v['relation_game_id'],$k,$begintime,$endtime); + $turnover_type = $this->getTurnoverType($p_info['relation_game_id'],$k,$begintime,$endtime); if ($turnover_type == 2) { $tratio =$this->getTurnoverRatio($p_info['all_pay_amount'],$tmp_game_ratio['ratio'],$tmp_game_ratio['turnover_ratio']); @@ -1410,7 +1410,7 @@ class CompanyStatementSetController extends Controller { $tratio += $company_ratio; }elseif($type == 0){ - $turnover_type = $this->getTurnoverType($v['relation_game_id'],$k,$begintime,$endtime); + $turnover_type = $this->getTurnoverType($p_info['relation_game_id'],$k,$begintime,$endtime); if ($turnover_type == 2) { $tratio =$this->getTurnoverRatio($p_info['all_pay_amount'],$tmp_game_ratio['ratio'],$tmp_game_ratio['turnover_ratio']);