|
@@ -142,7 +142,7 @@ class InvCat extends BaseController{
|
|
|
}
|
|
|
//类目查询
|
|
|
public function query(){
|
|
|
- $condition =[];
|
|
|
+ $condition =[["tax","<>",""]];
|
|
|
$cat_name = isset($this->post['cat_name'])&&$this->post['cat_name']!=''?trim($this->post['cat_name']):"";
|
|
|
if($cat_name!=''){
|
|
|
$condition[]=["cat_name|short_name","like","%$cat_name%"];
|