diff --git a/app/Service/Admin/System/DriverService.php b/app/Service/Admin/System/DriverService.php index 4785e92..19b2236 100644 --- a/app/Service/Admin/System/DriverService.php +++ b/app/Service/Admin/System/DriverService.php @@ -81,7 +81,7 @@ class DriverService extends BaseService $query->where('name', 'like', "$name%"); }) ->when($cityId > 0, function ($query) use ($cityId) { - $query->whereIn('section_id', $this->adminSectionModel->getIdsByCityId($cityId)); + $query->where('city_id', $cityId); }) ->when($id = $this->request->input('query_driver_id'), function ($query) use ($id) { $query->where('id', $id);