songxingwei 2 years ago
parent
commit
878b9f9bc7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/user/controller/Member.php

+ 1 - 1
application/user/controller/Member.php

@@ -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();