diff --git a/app/Http/Controllers/Admin/IndexController.php b/app/Http/Controllers/Admin/IndexController.php index bcc7003..2e7c82d 100644 --- a/app/Http/Controllers/Admin/IndexController.php +++ b/app/Http/Controllers/Admin/IndexController.php @@ -86,7 +86,7 @@ class IndexController extends BaseController ]; $type_count = ParkingSpace::query()->where($spaceWhere) ->whereIn('status', $statusArr) - ->whereIn('id', $spaceTypeIds) + ->whereIn('id', $spaceIds) ->count(); $type_list[] = [ 'count' => $type_count,