过滤未分配订单
This commit is contained in:
parent
7453b46c74
commit
8612a7bab6
|
@ -28,6 +28,8 @@ class OrderController extends base
|
||||||
$where = [];
|
$where = [];
|
||||||
if(!$request->admin->is_super) {
|
if(!$request->admin->is_super) {
|
||||||
$where = [['admin_id','=', $request->admin->id]];
|
$where = [['admin_id','=', $request->admin->id]];
|
||||||
|
} else {
|
||||||
|
$where = [['admin_id', '!=', 0]];
|
||||||
}
|
}
|
||||||
|
|
||||||
if($sn) {
|
if($sn) {
|
||||||
|
|
Loading…
Reference in New Issue