orders fixbug if_usedcar query

This commit is contained in:
qianhy
2023-04-23 17:02:19 +08:00
committed by lccsw
parent 90e41232f0
commit 6c902f8dae
+1 -1
View File
@@ -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,