|
|
|
@ -220,7 +220,7 @@ class ServerOrder extends Order |
|
|
|
|
$query = $this; |
|
|
|
|
// 非店长不带入user_id查询 |
|
|
|
|
if (!UserService::isStore()) { |
|
|
|
|
$query->where('user_id', '=', $userId); |
|
|
|
|
$query = $query->where('user_id', '=', $userId); |
|
|
|
|
} |
|
|
|
|
return $query->where($dataTypeFilter) |
|
|
|
|
->where('is_delete', '=', 0) |
|
|
|
|