优化负数结算规则

master
chenzhi 5 years ago
parent 978a42b4df
commit b2239380bf

@ -715,7 +715,7 @@ class CompanyStatementSetController extends Controller {
//金额为0不补点 //金额为0不补点
continue; continue;
} }
if($add_data['platform_amount'] <= 0){ if($add_data['platform_amount'] == 0){
return; return;
} }
// dd($add_data); // dd($add_data);
@ -1069,7 +1069,7 @@ class CompanyStatementSetController extends Controller {
}else{ }else{
if($v['platform_amount'] < 300){ if($v['platform_amount'] < 300){
//存未满 //存未满
if($lackcompany['pay_amount'] > 0){ if($lackcompany['pay_amount'] != 0){
$lask_id = $LackStatement->add($lackcompany); $lask_id = $LackStatement->add($lackcompany);
$countdata['create_lack_ids'][] =$lask_id; $countdata['create_lack_ids'][] =$lask_id;
$countdata['lack_statement_money'] +=$lackcompany['statement_money']; $countdata['lack_statement_money'] +=$lackcompany['statement_money'];
@ -1077,7 +1077,7 @@ class CompanyStatementSetController extends Controller {
} }
}else{ }else{
if($v['pay_amount'] > 0){ if($v['pay_amount'] != 0){
//存成功配置单号 //存成功配置单号
$company =[ $company =[
"pool_id"=>0, "pool_id"=>0,

Loading…
Cancel
Save