Commit be5882f1 authored by hujun's avatar hujun

商铺列表搜索

parent fdc70999
...@@ -201,7 +201,7 @@ class Houses extends Basic ...@@ -201,7 +201,7 @@ class Houses extends Basic
$where['a.status'] = ['<>', 3]; $where['a.status'] = ['<>', 3];
$where['c.name'] = ['LIKE', '%'.$this->params['dish'] . '%']; $where['c.name'] = ['LIKE', '%'.$this->params['dish'] . '%'];
$where['b.type'] = ['=', 2]; $where['b.type'] = ['=', 2];
$where['b.is_del'] = 0;
$data['data']['list'] = $this->house->getHouseListDish($pageNo, $pageSize, 'a.id DESC', $fields, $where, $this->userId); $data['data']['list'] = $this->house->getHouseListDish($pageNo, $pageSize, 'a.id DESC', $fields, $where, $this->userId);
$data['data']['total'] = $this->house->getHouseListDishTotal($where); $data['data']['total'] = $this->house->getHouseListDishTotal($where);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment