|
|
@ -734,7 +734,14 @@ class CompanyStatementSetController extends Controller {
|
|
|
|
$tratio =$this->getTurnoverRatio($game_all_payment,$tmp_game_ratio['ratio'],$tmp_game_ratio['turnover_ratio']);
|
|
|
|
$tratio =$this->getTurnoverRatio($game_all_payment,$tmp_game_ratio['ratio'],$tmp_game_ratio['turnover_ratio']);
|
|
|
|
$tratio += $company_ratio;
|
|
|
|
$tratio += $company_ratio;
|
|
|
|
}elseif($type == 0){
|
|
|
|
}elseif($type == 0){
|
|
|
|
|
|
|
|
// $tratio = $tmp_game_ratio['ratio'];
|
|
|
|
|
|
|
|
$turnover_type = $this->getTurnoverType($t_game_id,$k,$begintime,$endtime);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ($turnover_type == 2) {
|
|
|
|
|
|
|
|
$tratio =$this->getTurnoverRatio($game_all_payment,$tmp_game_ratio['ratio'],$tmp_game_ratio['turnover_ratio']);
|
|
|
|
|
|
|
|
} else {
|
|
|
|
$tratio = $tmp_game_ratio['ratio'];
|
|
|
|
$tratio = $tmp_game_ratio['ratio'];
|
|
|
|
|
|
|
|
}
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|
//补点
|
|
|
|
//补点
|
|
|
|
$tratio1 =$this->getTurnoverRatio($game_all_payment,$tmp_game_ratio['ratio'],$tmp_game_ratio['turnover_ratio']);
|
|
|
|
$tratio1 =$this->getTurnoverRatio($game_all_payment,$tmp_game_ratio['ratio'],$tmp_game_ratio['turnover_ratio']);
|
|
|
@ -767,7 +774,14 @@ class CompanyStatementSetController extends Controller {
|
|
|
|
$tratio =$this->getTurnoverRatio($game_all_payment,$tmp_game_ratio['ratio'],$tmp_game_ratio['turnover_ratio']);
|
|
|
|
$tratio =$this->getTurnoverRatio($game_all_payment,$tmp_game_ratio['ratio'],$tmp_game_ratio['turnover_ratio']);
|
|
|
|
$tratio += $company_ratio;
|
|
|
|
$tratio += $company_ratio;
|
|
|
|
}elseif($type == 0){
|
|
|
|
}elseif($type == 0){
|
|
|
|
$tratio = $t_game_ratio['ratio'];
|
|
|
|
// $tratio = $t_game_ratio['ratio'];
|
|
|
|
|
|
|
|
$turnover_type = $this->getTurnoverType($t_game_id,$k,$begintime,$endtime);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ($turnover_type == 2) {
|
|
|
|
|
|
|
|
$tratio =$this->getTurnoverRatio($game_all_payment,$tmp_game_ratio['ratio'],$tmp_game_ratio['turnover_ratio']);
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
$tratio = $tmp_game_ratio['ratio'];
|
|
|
|
|
|
|
|
}
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|
//补点
|
|
|
|
//补点
|
|
|
|
$tratio1 =$this->getTurnoverRatio($game_all_payment,$tmp_game_ratio['ratio'],$tmp_game_ratio['turnover_ratio']);
|
|
|
|
$tratio1 =$this->getTurnoverRatio($game_all_payment,$tmp_game_ratio['ratio'],$tmp_game_ratio['turnover_ratio']);
|
|
|
|