fixed
This commit is contained in:
parent
066e8c4382
commit
9b534e6c32
@ -834,7 +834,7 @@ class IndexController extends BaseApiController
|
||||
$companyIds = array_column($companyList, 'id');
|
||||
$carList = [];
|
||||
// 查镇车辆列表
|
||||
$vehicleList = VehicleRent::whereIn('company_id', $companyIds)->where('status','in','0,1,2')->field('car_id as id,car_license as license')->select()->toArray();
|
||||
$vehicleList = Db::name('vehicle_rent')->whereIn('company_id', $companyIds)->where('status','in','0,1,2')->field('car_id as id,car_license as license')->group('company_id')->select()->toArray();
|
||||
|
||||
// 查小组车辆列表
|
||||
// $buyCarRent = VehicleBuyRecord::whereIn('company_id', $companyIds)->where('status','<>',4)->findOrEmpty();
|
||||
|
Loading…
x
Reference in New Issue
Block a user