过滤未分配订单

This commit is contained in:
jianghanbo 2024-09-04 15:23:30 +08:00
parent 7453b46c74
commit 8612a7bab6
1 changed files with 2 additions and 0 deletions

View File

@ -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) {