Accept Merge Request #185: (feature/hant -> develop)
Merge Request: 通知 Created By: @todayswind Accepted By: @todayswind URL: https://g-bcrc3009.coding.net/p/allocatr/d/allocatr/git/merge/185?initial=true
This commit is contained in:
commit
aa0a85f9fe
|
|
@ -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