|
|
|
@ -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,
|
|
|
|
|