From 50495e73ca560eeab889fe459df4b03d728ff277 Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Wed, 26 Aug 2020 09:24:37 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=B9=E6=AE=8A=E8=A1=A5=E7=82=B9=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CompanyStatementController.class.php | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/Application/Admin/Controller/CompanyStatementController.class.php b/Application/Admin/Controller/CompanyStatementController.class.php index 75aa7b3bc..1343a9aa1 100644 --- a/Application/Admin/Controller/CompanyStatementController.class.php +++ b/Application/Admin/Controller/CompanyStatementController.class.php @@ -715,15 +715,13 @@ class CompanyStatementController extends ThinkController } } - if($va['platform_amount'] < $no_pool_money){ + if($va['platform_amount'] < $no_pool_money&&($k!='complement_down' && $k != 'complement_user')){ //依旧小于不结算金额存旧版 - if (($k!='complement_down' && $k != 'complement_user')) { - if($lackcompany['pay_amount'] != 0){ - $lask_id = $LackStatement->add($lackcompany); - $v['create_lack_ids'][] =$lask_id; - $v['lack_statement_money'] +=$lackcompany['statement_money']; - $v['lack_platform_amount'] +=$lackcompany['platform_amount']; - } + if($lackcompany['pay_amount'] != 0){ + $lask_id = $LackStatement->add($lackcompany); + $v['create_lack_ids'][] =$lask_id; + $v['lack_statement_money'] +=$lackcompany['statement_money']; + $v['lack_platform_amount'] +=$lackcompany['platform_amount']; } }else{