fix : statement

This commit is contained in:
2025-08-04 16:50:57 +08:00
parent a1668b60fc
commit ae0d0d83ac
2 changed files with 2 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ class DriverService extends BaseService
$list = $this->siteDriverStatementModel
->when($searchCityId, function ($query) use ($searchCityId) {
$query->whereIn('city_id', $searchCityId);
$query->where('city_id', $searchCityId);
})
->when($searchDriverId, function ($query) use ($searchDriverId) {
$query->where('driver_id', $searchDriverId);