|
|
@@ -91,6 +91,13 @@ class ServiceWorkLists extends BaseAdminDataLists implements ListsSearchInterfac
|
|
|
$ids[] = $goodsCategoryId;
|
|
|
$where[] = ['goods_category_id','in' ,$ids];
|
|
|
}
|
|
|
+ if(!isset($this->params['work_status']) && (!empty($this->params['work_status']) || $this->params['work_status'] != '')){
|
|
|
+ switch ($this->params['work_status']){
|
|
|
+ case 0:
|
|
|
+ $where[] = ['service_status','<' ,3];
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
if(!isset($this->params['work_pay_status']) || (isset($this->params['work_pay_status']) && $this->params['work_pay_status'] == '')){
|
|
|
$where[] = ['work_pay_status','>',0];
|
|
|
}else{
|