diff --git a/common/libraries/receiver/Orders_entity.php b/common/libraries/receiver/Orders_entity.php index 2c7872b2..617b50ab 100644 --- a/common/libraries/receiver/Orders_entity.php +++ b/common/libraries/receiver/Orders_entity.php @@ -382,7 +382,7 @@ class Orders_entity{ if(!$this->order_row || !$p_row){ return false; } - if($this->ci->app_liche_orders_model->count(['status>='=>0,'type'=>3])){ //存在尾款订单 + if($this->ci->app_liche_orders_model->count(['status>='=>0,'type'=>3,'o_id'=>$oid])){ //存在尾款订单 return true; } $car_json = json_decode($this->order_row['car_json'],true);