diff --git a/app/admin/lists/operation/OpurchaseclassofferLists.php b/app/admin/lists/operation/OpurchaseclassofferLists.php index 46c7d20..a33f5d2 100644 --- a/app/admin/lists/operation/OpurchaseclassofferLists.php +++ b/app/admin/lists/operation/OpurchaseclassofferLists.php @@ -50,6 +50,12 @@ class OpurchaseclassofferLists extends BaseAdminDataLists implements ListsSearch $where=[]; $is_mer=$this->request->get('is_mer',0); $id=$this->request->get('id',0); + $type=$this->request->get('type','all'); + if($type==1){ + $where[]=['is_adopt','=',0]; + }elseif($type==2){ + $where[]=['is_adopt','=',1]; + } if($id){ $where[]=['order_id','=',$id]; }