优化负数结算规则

master
chenzhi 4 years ago
parent 978a42b4df
commit b2239380bf

@ -715,7 +715,7 @@ class CompanyStatementSetController extends Controller {
//金额为0不补点
continue;
}
if($add_data['platform_amount'] <= 0){
if($add_data['platform_amount'] == 0){
return;
}
// dd($add_data);
@ -1069,7 +1069,7 @@ class CompanyStatementSetController extends Controller {
}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'];
@ -1077,7 +1077,7 @@ class CompanyStatementSetController extends Controller {
}
}else{
if($v['pay_amount'] > 0){
if($v['pay_amount'] != 0){
//存成功配置单号
$company =[
"pool_id"=>0,

Loading…
Cancel
Save