orders fixbug if_usedcar query
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user