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