Commit 3dcb550b authored by hujun's avatar hujun

修改盘方查询

parent fb3dddd7
...@@ -218,6 +218,10 @@ class Broker extends Basic ...@@ -218,6 +218,10 @@ class Broker extends Basic
$where['a.agents_id'] = $this->params['agents_id']; $where['a.agents_id'] = $this->params['agents_id'];
} }
if (!empty($this->params['agent_name'])) {
$where['b.name'] = ['LIKE', '%'.$this->params['agent_name'].'%'];
}
$m_house = new GHousesToAgents(); $m_house = new GHousesToAgents();
$data['data'] = $m_house->getAgentsHousesList($pageNo, $pageSize, 'id DESC', $fields, $where); $data['data'] = $m_house->getAgentsHousesList($pageNo, $pageSize, 'id DESC', $fields, $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