Commit 916acd2c authored by hujun's avatar hujun

修改通过手机号和姓名查询经纪人信息

parent 370ea896
......@@ -69,7 +69,7 @@ class Broker extends Basic
$pageSize = empty($this->params['pageSize']) ? 10 : $this->params['pageSize'];
$where = 'status <> 2';
if ($this->params['phone']) {
$where = ' AND (phone like "'.$this->params['phone'].'%" or name like "'.$this->params['phone'].'%")';
$where .= ' AND concat(phone,name) like "%'.$this->params['phone'].'%"';
}
if ($this->params['level']) {
......
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