Commit 0ca92a25 authored by zhuwei's avatar zhuwei

本人商铺

parent a5b35eb5
...@@ -236,6 +236,12 @@ class Houses extends Basic ...@@ -236,6 +236,12 @@ class Houses extends Basic
$where['id'] = $this->params['id']; $where['id'] = $this->params['id'];
} }
if ($this->params['dish_id'] != NULL) {
$agent_where['b.agents_id'] = $this->params['dish_id'];
$agent_where['a.type'] = 2;
$agent_where['a.is_del'] = 0;
}
if ($this->params['dish_name'] != NULL) { if ($this->params['dish_name'] != NULL) {
$agent_where['b.name'] = $this->params['dish_name']; $agent_where['b.name'] = $this->params['dish_name'];
$agent_where['a.type'] = 2; $agent_where['a.type'] = 2;
......
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