|
|
@ -715,16 +715,14 @@ class CompanyStatementController extends ThinkController
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if($va['platform_amount'] < $no_pool_money){
|
|
|
|
if($va['platform_amount'] < $no_pool_money&&($k!='complement_down' && $k != 'complement_user')){
|
|
|
|
//依旧小于不结算金额存旧版
|
|
|
|
//依旧小于不结算金额存旧版
|
|
|
|
if (($k!='complement_down' && $k != 'complement_user')) {
|
|
|
|
|
|
|
|
if($lackcompany['pay_amount'] != 0){
|
|
|
|
if($lackcompany['pay_amount'] != 0){
|
|
|
|
$lask_id = $LackStatement->add($lackcompany);
|
|
|
|
$lask_id = $LackStatement->add($lackcompany);
|
|
|
|
$v['create_lack_ids'][] =$lask_id;
|
|
|
|
$v['create_lack_ids'][] =$lask_id;
|
|
|
|
$v['lack_statement_money'] +=$lackcompany['statement_money'];
|
|
|
|
$v['lack_statement_money'] +=$lackcompany['statement_money'];
|
|
|
|
$v['lack_platform_amount'] +=$lackcompany['platform_amount'];
|
|
|
|
$v['lack_platform_amount'] +=$lackcompany['platform_amount'];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|
if($va['pay_amount'] != 0){
|
|
|
|
if($va['pay_amount'] != 0){
|
|
|
|