|
|
@@ -40,7 +40,7 @@ class ServiceWorkLists extends BaseAdminDataLists implements ListsSearchInterfac
|
|
|
public function setSearch(): array
|
|
|
{
|
|
|
return [
|
|
|
- '=' => ['id','work_sn', 'real_name', 'mobile', 'address', 'title', 'category_type', 'base_service_fee', 'service_fee', 'work_status','work_pay_status', 'service_status', 'finished_images', 'master_worker_id', 'work_amount','work_type','appoint_approval','refund_approval'],
|
|
|
+ '=' => ['id','work_sn', 'real_name', 'mobile', 'address', 'title', 'category_type', 'base_service_fee', 'service_fee', 'work_status', 'service_status', 'finished_images', 'master_worker_id', 'work_amount','work_type','appoint_approval','refund_approval'],
|
|
|
|
|
|
];
|
|
|
}
|
|
|
@@ -88,7 +88,9 @@ class ServiceWorkLists extends BaseAdminDataLists implements ListsSearchInterfac
|
|
|
$ids[] = $goodsCategoryId;
|
|
|
$where[] = ['goods_category_id','in' ,$ids];
|
|
|
}
|
|
|
- //$where[] = ['work_pay_status','>',0];
|
|
|
+ if(!isset($this->params['work_pay_status'])){
|
|
|
+ $where['work_pay_status'] = ['>',0];
|
|
|
+ }
|
|
|
return $where;
|
|
|
}
|
|
|
/**
|