修改客户筛选

This commit is contained in:
lcc
2024-12-06 08:25:19 +08:00
parent d74ee00999
commit eff94cbd14
@@ -774,6 +774,7 @@ class Customers extends Wxapp
$if_driver = $this->input_param('if_driver');
$level = $this->input_param('level');
$brand_id = $this->input_param('brand_id');
$series_id = $this->input_param('series_id');
$cfrom = $this->input_param('cfrom'); //客户来源id
$status = $this->input_param('status'); //状态
$o_type = $this->input_param('o_type'); //排序
@@ -861,6 +862,7 @@ class Customers extends Wxapp
strlen($if_driver) && $where['if_driver'] = 1;
strlen($status) && $where['status'] = $status;
$brand_id && $where['brand_id'] = $brand_id;
$series_id && $where['series_id'] = $series_id;
$level && $where['level'] = $level;
$cfrom && $where['cf_title'] = $cfrom;
$name && $where["name like '%{$name}%'"] = null;