更新
This commit is contained in:
parent
41272e4ba3
commit
60a23912b2
@ -31,7 +31,7 @@ class OpurchaseclassofferLists extends BaseAdminDataLists implements ListsSearch
|
||||
public function setSearch(): array
|
||||
{
|
||||
return [
|
||||
'=' => ['is_adopt','is_push'],
|
||||
'=' => ['is_adopt'],
|
||||
];
|
||||
}
|
||||
|
||||
@ -50,12 +50,8 @@ class OpurchaseclassofferLists extends BaseAdminDataLists implements ListsSearch
|
||||
$where=[];
|
||||
$is_mer=$this->request->get('is_mer',0);
|
||||
$id=$this->request->get('id',0);
|
||||
if($is_mer==2){
|
||||
$arr=Opurchaseclass::where('id',$id)->value('order_arr');
|
||||
if($arr){
|
||||
$arr=explode(',',$arr);
|
||||
$where[]=['order_id','in',$arr];
|
||||
}
|
||||
if($id){
|
||||
$where[]=['order_id','=',$id];
|
||||
}
|
||||
$this->where=$where;
|
||||
return OpurchaseGoodsOffer::where($this->searchWhere)
|
||||
|
Loading…
x
Reference in New Issue
Block a user