|
@@ -52,7 +52,7 @@ class Member extends Controller
|
|
|
$coll_id = $this->request->get('coll_id');
|
|
|
$query->dateBetween('create_at')
|
|
|
->when($coll_id,function ($query) use ($coll_id){
|
|
|
- $mids = Db::name('store_order_info')->where('c_id',$coll_id)->where('status','neq',2)->where('is_destruction',1)->column('mid');
|
|
|
+ $mids = Db::name('store_order_info')->whereIn('c_id',$coll_id)->where('status','neq',2)->where('is_destruction',1)->column('mid');
|
|
|
$query->whereIn('id',$mids);
|
|
|
})
|
|
|
->order('id desc')->page();
|