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']; - } + // } } } }