通知
This commit is contained in:
parent
e9dce2407d
commit
7c79ee8045
|
|
@ -30,6 +30,10 @@ class AutoDispatchLogic
|
||||||
$res_worker = Admin::where('area_ids', 'like', '%' . $area_id . '%')
|
$res_worker = Admin::where('area_ids', 'like', '%' . $area_id . '%')
|
||||||
|
|
||||||
->column('id');
|
->column('id');
|
||||||
|
|
||||||
|
$dispatch_admin = AuthGroupAccess::where('group_id', 6)
|
||||||
|
->column('uid');
|
||||||
|
$res_worker = array_values(array_diff($res_worker,$dispatch_admin));
|
||||||
$res_admin = AuthGroupAccess::whereIn('group_id', [1,11])
|
$res_admin = AuthGroupAccess::whereIn('group_id', [1,11])
|
||||||
->column('uid');
|
->column('uid');
|
||||||
$res = array_values(array_unique(array_merge($res_worker,$res_admin)));
|
$res = array_values(array_unique(array_merge($res_worker,$res_admin)));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user