上下游非0都要结算

master
chenzhi 5 years ago
parent ecf92c03a7
commit 7335f5da15

@ -653,14 +653,14 @@ class CompanyStatementController extends ThinkController
}
if($va['pay_amount'] < $no_pool_money){
//依旧小于不结算金额存旧版
if($lackcompany['pay_amount'] > 0){
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{
if($va['pay_amount'] > 0){
if($va['pay_amount'] != 0){
//存成功
$company =[
"pool_id"=>0,

Loading…
Cancel
Save