Browse Source

优化首页统计逻辑2

master
wanghongjun 4 weeks ago
parent
commit
3fad01ffb9
  1. 2
      app/Http/Controllers/Admin/IndexController.php

2
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,

Loading…
Cancel
Save