成员邮箱地址搜索修改为完全匹配
Signed-off-by: vilson <545522390@qq.com>
This commit is contained in:
parent
acf039cb78
commit
c6867afe51
@ -87,7 +87,7 @@ class DepartmentMember extends BasicApi
|
||||
}
|
||||
if (!$department_code) {
|
||||
//从平台查询
|
||||
$memberList = Member::where([['email', 'like', "%{$keyword}%"]])->whereNotIn('code', $departmentMemberIds)->select()->toArray();
|
||||
$memberList = Member::where([['email', '=', "{$keyword}"]])->whereNotIn('code', $departmentMemberIds)->select()->toArray();
|
||||
if ($memberList) {
|
||||
foreach ($memberList as $member) {
|
||||
$item = [];
|
||||
|
Loading…
x
Reference in New Issue
Block a user