1234567891011121314151617181920212223242526272829303132333435 |
- <?php
- namespace App\Filters;
- use App\Filters\Traits\OrderOperateBikeFilter;
- use App\Filters\Traits\RelationUserFilter;
- class OrderRentFilter extends Filter
- {
- use RelationUserFilter;
- use OrderOperateBikeFilter;
- protected $simpleFilters = [
- 'area_id',
- 'put_area_id' => 'put_area',// 与area_id 查询一样
- 'no' => ['like', '%?%'],
- 'remark' => ['like', '%?%'],
- 'bike_no' => ['like', '%?%'],
- 'pay_time_between' => 'pay_time_between',
- 'created_time_between'=> 'created_time_between',
- 'status',
- 'is_refund_money',
- 'merchant_id',
- ];
- protected $filters = [
- 'mobile',
- 'nickname',
- 'operate_status',
- 'mobile_nickname',
- 'rent_riding',
- 'is_dispatch_money'
- ];
- }
|