update
This commit is contained in:
parent
97052f25be
commit
5ec3c635f5
@ -376,7 +376,7 @@ class VehicleController extends BaseApiController
|
|||||||
return $this->fail('非小组公司不能访问');
|
return $this->fail('非小组公司不能访问');
|
||||||
}
|
}
|
||||||
//获取申请信息
|
//获取申请信息
|
||||||
$vehicleContract = VehicleContract::where('company_b_id',$company['id'])->order('id desc')->find();
|
$vehicleContract = VehicleContract::where('company_b_id',$company['id'])->where('type','<>',2)->order('id desc')->find();
|
||||||
if(empty($vehicleContract)){
|
if(empty($vehicleContract)){
|
||||||
return $this->success('没有数据,请申请');
|
return $this->success('没有数据,请申请');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user