修复无法正常添加部门成员的问题
Signed-off-by: vilson <545522390@qq.com>
This commit is contained in:
parent
2bf7add87f
commit
2d1f668f72
@ -66,7 +66,7 @@ class DepartmentMember extends BasicApi
|
||||
$departmentMemberIds = MemberAccount::where([['organization_code', '=', $orgCode]])->column('member_code');
|
||||
}
|
||||
//从当前组织的所有成员查询,判断是否已加入该组织/部门,并存储已加入组织/部门的成员的account_code
|
||||
$memberAccountList = MemberAccount::where([['name', 'like', "%{$keyword}%"], ['organization_code', '=', $orgCode]])->select()->toArray();
|
||||
$memberAccountList = MemberAccount::where([['name', 'like', "%{$keyword}%"], ['organization_code', '=', $orgCode], ['status', '=', 1]])->select()->toArray();
|
||||
$tempList = [];
|
||||
if ($memberAccountList) {
|
||||
foreach ($memberAccountList as $member) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user