This commit is contained in:
unknown 2023-08-30 21:01:15 +08:00
parent 4f350ae096
commit b608079600

View File

@ -25,7 +25,6 @@ class ContractController extends BaseApiController
$cars = Vehicle::field('id,license')->where([ $cars = Vehicle::field('id,license')->where([
['type','=',1], ['type','=',1],
['status','=',1], ['status','=',1],
['is_check','=',2],
['is_del','=',1], ['is_del','=',1],
])->limit($params['num'])->select(); ])->limit($params['num'])->select();
if($cars->isEmpty() || $cars->count() < $params['num']){ if($cars->isEmpty() || $cars->count() < $params['num']){