From 711992a287b93acf606e01174f234144d3b1962f Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Thu, 26 Nov 2020 17:19:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=9D=E7=95=99=E4=B8=A4=E4=BD=8D=E5=B0=8F?= =?UTF-8?q?=E6=95=B0=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controller/CompanyStatementSetController.class.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Application/Admin/Controller/CompanyStatementSetController.class.php b/Application/Admin/Controller/CompanyStatementSetController.class.php index c199b2594..5faba545f 100644 --- a/Application/Admin/Controller/CompanyStatementSetController.class.php +++ b/Application/Admin/Controller/CompanyStatementSetController.class.php @@ -732,7 +732,7 @@ class CompanyStatementSetController extends Controller { $game['statement_begin_time']=$statement_begin_time; $game['statement_end_time']=$statement_end_time; - $add_data['pay_amount'] += round($game['pay_amount'],2); + $add_data['pay_amount'] += $game['pay_amount']; if($type == 1){ $tratio =$this->getTurnoverRatio($game_all_payment,$tmp_game_ratio['ratio'],$tmp_game_ratio['turnover_ratio']); @@ -785,7 +785,7 @@ class CompanyStatementSetController extends Controller { // dd($t_game_id); $temp_game['pay_amount'] =$this->getRelationGameIdSpend($add_data['company_id'],$t_game_id,$tmp_game_ratio['begintime'],$tmp_game_ratio['endtime']); $temp_game['pay_amount'] -=0; - $add_data['pay_amount'] += round($temp_game['pay_amount'],2); + $add_data['pay_amount'] += $temp_game['pay_amount']; if($type == 1){ @@ -1686,7 +1686,7 @@ class CompanyStatementSetController extends Controller { $v['platform_amount'] += $p_info['pay_amount']; $p_info['sum_money']=round($p_info['pay_amount']*$tratio/100,2); //个人等于 结算金额*比例 - $v['pay_amount'] += round($p_info['sum_money'],2);; + $v['pay_amount'] += $p_info['sum_money']; $v['statement_money'] += $p_info['sum_money']; $p_info['fax_ratio']=$fax_ratio; $p_info['statement_begin_time']=$statement_begin_time; @@ -1763,7 +1763,7 @@ class CompanyStatementSetController extends Controller { $v['platform_amount'] += $temp_game['pay_amount']; $temp_game['sum_money']=round($temp_game['pay_amount']*$tratio/100,2); //个人等于 结算金额*比例 - $v['pay_amount'] += round($temp_game['sum_money'],2); + $v['pay_amount'] += $temp_game['sum_money']; $v['statement_money'] += $temp_game['sum_money']; $temp_game['fax_ratio']=$fax_ratio-0; @@ -1908,7 +1908,7 @@ class CompanyStatementSetController extends Controller { "company_name"=>$v['partner'], "company_info"=>json_encode($company_info,JSON_UNESCAPED_UNICODE), "statement_money"=>$v['statement_money'], - "pay_amount"=>$v['pay_amount'], + "pay_amount"=>round($v['pay_amount'],2), "platform_amount"=>$v['platform_amount'], "fine"=>$v['fine'], "reward"=>$v['reward'],