wuggemail@foxmail.com 2 months ago
parent
commit
d7a4081617
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/cxinv/controller/Index.php

+ 1 - 1
app/cxinv/controller/Index.php

@@ -40,7 +40,7 @@ class Index extends Base
     public function List()
     {
         $param = $this->request->param(['goodName'=>"","code"=>"","companyNo"=>"","page"=>1,"size"=>20],"post",'trim');
-       $where=[];
+       $where=[["status","<>",0]];
        if($param['goodName']!='') $where[]=['goodName','like','%'.$param['goodName'].'%'];
        if($param['code']!='') $where[]=['code','like','%'.$param['code'].'%'];
        $list = GodTemp::with(['tax_info'])->where($where)->order('id desc')->paginate(['page'=>$param['page'],'list_rows'=>$param['size']])->each(function($item) use($param){