Commit 747f68e5 authored by hujun's avatar hujun

跟进列表 跟进人模糊搜索

parent 4eb081ba
......@@ -71,7 +71,10 @@ class Remark extends Basic
//跟进人名字
if (!empty($this->params['remark_name'])) {
$agent_where['name'] = $this->params['remark_name'];
if (mb_strlen($this->params['remark_name']) < 2) {
return $this->response(101, '名字长度不足2位');
}
$agent_where['name'] = ['LIKE', '%'.$this->params['remark_name'].'%'];
}
//跟进人手机号
......@@ -113,6 +116,7 @@ class Remark extends Basic
$data['data']['list'] = [];
return $this->response(200,'', $data); //处理经纪人空数据
} else {
$agent_id = [];
foreach ($agent_id_arr as $K=>$v) {
$agent_id[] = $v['id'];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment