|
@@ -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){
|