Commit ea552ca4 authored by hujun's avatar hujun

agent_id

parent 9e00e461
......@@ -70,6 +70,7 @@ class OfficeBroker extends Basic
$where['c.house_id'] = $params['house_id'];
$where['c.is_del'] = 0;
$where['a.status'] = 0;
$where['c.type'] = 2;
$list = $agents->getUserOffice($pageNo, $pageSize, 'evaluate desc', $fields, $where);
$agent_id = [];
......@@ -97,7 +98,9 @@ class OfficeBroker extends Basic
}
$list[$k]['evaluate_grade'] = $evaluate_grade;
$list[$k]['show_content'] = '本铺由我登记,熟悉房源信息';
if (empty($v['show_content'])) {
$list[$k]['show_content'] = '本铺由我登记,熟悉房源信息';
}
}
}
......
......@@ -1064,7 +1064,6 @@ class AAgents extends BaseModel
return $this->field($field)->alias('a')
->join('u_evaluate b', 'a.id = b.agents_id', 'left')
->join('office_g_room_to_agent c', 'a.id=c.agent_id', 'left')
->where('c.type', 1)
->where($params)
->group('a.id')
->order($order_)
......
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