OrderRentFilter.php 807 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. namespace App\Filters;
  3. use App\Filters\Traits\OrderOperateBikeFilter;
  4. use App\Filters\Traits\RelationUserFilter;
  5. class OrderRentFilter extends Filter
  6. {
  7. use RelationUserFilter;
  8. use OrderOperateBikeFilter;
  9. protected $simpleFilters = [
  10. 'area_id',
  11. 'put_area_id' => 'put_area',// 与area_id 查询一样
  12. 'no' => ['like', '%?%'],
  13. 'remark' => ['like', '%?%'],
  14. 'bike_no' => ['like', '%?%'],
  15. 'pay_time_between' => 'pay_time_between',
  16. 'created_time_between'=> 'created_time_between',
  17. 'status',
  18. 'is_refund_money',
  19. 'merchant_id',
  20. ];
  21. protected $filters = [
  22. 'mobile',
  23. 'nickname',
  24. 'operate_status',
  25. 'mobile_nickname',
  26. 'rent_riding',
  27. 'is_dispatch_money'
  28. ];
  29. }