diff --git a/admin/libraries/Ordersv2List.php b/admin/libraries/Ordersv2List.php index fbbfe9c5..b6067393 100644 --- a/admin/libraries/Ordersv2List.php +++ b/admin/libraries/Ordersv2List.php @@ -274,7 +274,7 @@ class Ordersv2List $where["{$this->t1}.item_id in(select id from lc_items where vin like '%{$params['vin']}%')"] = null; } if (strlen($params['if_usedcar'])) { - $where = ["{$this->t1}.if_usedcar>=" => $params['if_usedcar']]; + $where["{$this->t1}.if_usedcar"] = $params['if_usedcar']; } $fileds = "{$this->t1}.id,{$this->t1}.name,{$this->t1}.mobile,{$this->t1}.brand_id,{$this->t1}.s_id,{$this->t1}.v_id,{$this->t1}.if_usedcar, {$this->t1}.cor_id,{$this->t1}.incor_id,{$this->t1}.money_json,{$this->t1}.payway,{$this->t1}.status,{$this->t1}.c_time,{$this->t1}.fines,