|
|
@@ -138,7 +138,11 @@ class ServiceWorkLists extends BaseAdminDataLists implements ListsSearchInterfac
|
|
|
}
|
|
|
|
|
|
if(isset($this->params['property_activity_id']) && !empty($this->params['property_activity_id'])){
|
|
|
- $where[] = ['property_activity_id','>',0];
|
|
|
+ if($this->params['property_activity_id'] == 2){
|
|
|
+ $where[] = ['order_effective_id','>',0];
|
|
|
+ }else{
|
|
|
+ $where[] = ['property_activity_id','>',0];
|
|
|
+ }
|
|
|
}
|
|
|
return $where;
|
|
|
}
|
|
|
@@ -173,7 +177,7 @@ class ServiceWorkLists extends BaseAdminDataLists implements ListsSearchInterfac
|
|
|
->where($this->searchWhere)
|
|
|
->where($this->queryWhere())
|
|
|
->where($this->queryDataWhere())
|
|
|
- ->field(['id', 'work_sn', 'real_name', 'mobile', 'address', 'title', 'category_type', 'goods_category_ids', 'goods_category_id', 'base_service_fee', 'service_fee', 'work_status','work_pay_status', 'service_status', 'dispatch_time', 'receive_time', 'appointment_time', 'finished_images', 'finished_time', 'master_worker_id', 'work_amount', 'work_type', 'create_time', 'update_time','lon', 'lat','appoint_approval','refund_approval','finally_door_time','property_activity_id'])
|
|
|
+ ->field(['id', 'work_sn', 'real_name', 'mobile', 'address', 'title', 'category_type', 'goods_category_ids', 'goods_category_id', 'base_service_fee', 'service_fee', 'work_status','work_pay_status', 'service_status', 'dispatch_time', 'receive_time', 'appointment_time', 'finished_images', 'finished_time', 'master_worker_id', 'work_amount', 'work_type', 'create_time', 'update_time','lon', 'lat','appoint_approval','refund_approval','finally_door_time','property_activity_id','order_effective_id'])
|
|
|
->limit($this->limitOffset, $this->limitLength)
|
|
|
->order(['id' => 'desc'])
|
|
|
->select()
|