Commit e8831e7c authored by hujun's avatar hujun

获取经纪人和楼盘关系信息

parent 6d40c4da
...@@ -215,6 +215,10 @@ class Broker extends Basic ...@@ -215,6 +215,10 @@ class Broker extends Basic
$where['a.houses_id'] = $this->params['houses_id']; $where['a.houses_id'] = $this->params['houses_id'];
} }
if (!empty($this->params['agent_id'])) {
$where['a.agents_id'] = $this->params['agents_id'];
}
$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);
} else { } else {
......
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