员工搜索bug修改
This commit is contained in:
parent
97f3965e28
commit
e28807def7
@ -29,7 +29,7 @@ class User extends BaseController
|
||||
$where[] = ['id|username|name|nickname|mobile|desc', 'like', '%' . $param['keywords'] . '%'];
|
||||
}
|
||||
$where[] = ['status', '<', 2];
|
||||
if (isset($param['status'])) {
|
||||
if (!empty($param['status'])) {
|
||||
$where[] = ['status', '=', $param['status']];
|
||||
}
|
||||
if (!empty($param['type'])) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user