songxingwei il y a 2 ans
Parent
commit
df75258890
1 fichiers modifiés avec 0 ajouts et 42 suppressions
  1. 0 42
      application/user/controller/Member.php

+ 0 - 42
application/user/controller/Member.php

@@ -73,48 +73,6 @@ class Member extends Controller
             ->where('b.status','neq',2)
             ->group('b.mid')
             ->page();
-
-
-
-//        $query = $this->_query($this->table)->where('is_deleted',0)
-//            ->like('name,phone')
-//            ->equal('status');
-        $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')
-//                    ->whereIn('c_id',$coll_id)
-//                    ->where('status','neq',2)
-//                    ->where('is_destruction',1)
-//                    ->group('mid')
-//                    ->column('mid');
-//                $query->whereIn('id',$mids);
-//                dump($mids);die;
-//            })
-//            ->order('id desc')->page();
-
-        $query = $this->_query($this->table)->alias('a')
-            ->field('a.*')
-            ->where('a.is_deleted',0)
-            ->leftJoin('store_order_info b','a.id=b.mid')
-            ->where('b.is_destruction',1)
-            ->where('b.status','neq',2)
-            ->where('b.c_id','in',$coll_id)
-            ->group('b.mid')
-            ->page();
-//        $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')
-//                    ->whereIn('c_id',$coll_id)
-//                    ->where('status','neq',2)
-//                    ->where('is_destruction',1)
-//                    ->group('mid')
-//                    ->column('mid');
-//                $query->whereIn('id',$mids);
-//                dump($mids);die;
-//            })
-//            ->order('id desc')->page();
     }
     /**
      * 数据列表处理