Merge branch 'feature/finance_statement_three' of wmtx/platform into master

优化下游个人结算
master
万盟天下 4 years ago committed by Gogs
commit 0c4211a951

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

Loading…
Cancel
Save