From 97af14147e39d37f419c4a2520b19358f0bb41ab Mon Sep 17 00:00:00 2001 From: chenzhi Date: Mon, 7 Sep 2020 09:55:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=B8=8B=E6=B8=B8=E4=B8=AA?= =?UTF-8?q?=E4=BA=BA=E7=BB=93=E7=AE=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CompanyStatementSetController.class.php | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Application/Admin/Controller/CompanyStatementSetController.class.php b/Application/Admin/Controller/CompanyStatementSetController.class.php index 0d7512876..2ff9ad3b9 100644 --- a/Application/Admin/Controller/CompanyStatementSetController.class.php +++ b/Application/Admin/Controller/CompanyStatementSetController.class.php @@ -1312,20 +1312,23 @@ class CompanyStatementSetController extends Controller { } } } + if($v['platform_amount'] == 0 && $v['statement_money'] == 0){ + continue ; + } if($type == 2 && $v['statement_money'] == 0){ //补点不存 }else{ if($v['platform_amount'] < 300){ //存未满 - if($lackcompany['pay_amount'] != 0){ + // if($lackcompany['pay_amount'] != 0){ $lask_id = $LackStatement->add($lackcompany); $countdata['create_lack_ids'][] =$lask_id; $countdata['lack_statement_money'] +=$lackcompany['statement_money']; $countdata['lack_platform_amount'] +=$lackcompany['platform_amount']; - } + // } }else{ - if($v['pay_amount'] != 0){ + // if($v['pay_amount'] != 0){ //存成功配置单号 $company =[ "pool_id"=>0, @@ -1356,7 +1359,7 @@ class CompanyStatementSetController extends Controller { $countdata['platform_amount'] +=$v['platform_amount']; $countdata['fine'] +=$v['fine']; $countdata['reward'] +=$v['reward']; - } + // } } } }