Commit 0da80820 authored by hujun's avatar hujun

经纪人列表搜索修改

parent 7b550773
......@@ -81,7 +81,7 @@ class Agent extends Basic
$where['a.id'] = ['<>', 1];
if (!empty($params['search'])) {
$where[] = ['EXP', "a.name like '%{$params['search']}%' OR a.name like '%{$params['search']}%'"];
$where[] = ['EXP', "a.name like '%{$params['search']}%' OR a.phone like '%{$params['search']}%'"];
}
if (!empty($params['group_name'])) {
......
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