|
|
|
@ -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']);
|
|
|
|
|