Commit 70bfdc1c authored by hujun's avatar hujun

客户列表搜索修改

parent 351b4f91
......@@ -61,7 +61,7 @@ class Member extends Basic{
//客户手机号
if (!empty($params['phone'])) {
$where['concat(a.user_phone,a.user_nick)'] = ['like','%'.$this->params['phone'].'%'];
$where[0] = ['EXP','a.user_phone LIKE "%'.$this->params['phone'].'%" or a.user_nick LIKE "%'.$this->params['phone'].'%"'];
}
//是否公客
......
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