Commit bea3988c authored by zhuwei's avatar zhuwei

1

parent 75007d0e
...@@ -1110,12 +1110,11 @@ class OfficeRoomService ...@@ -1110,12 +1110,11 @@ class OfficeRoomService
* @return array * @return array
*/ */
public function getMyBuildingRoom($pageNo, $pageSize, $agentId){ public function getMyBuildingRoom($pageNo, $pageSize, $agentId){
$m_office_room = new OfficeGRoom();
$field = "a.id,a.area,a.price_total,a.price,a.station_start,a.station_end,a.decoration"; $field = "a.id,a.area,a.price_total,a.price,a.station_start,a.station_end,a.decoration";
$params["c.agent_id"] = $agentId; $params["c.agent_id"] = $agentId;
$params["c.type"] = 2; $params["c.type"] = 2;
$params["c.is_del"] = 0; $params["c.is_del"] = 0;
$res = $m_office_room->getMyBuildingRoom($field, $params,$pageSize,$pageNo); $res = $this->m_office_room->getMyBuildingRoom($field, $params,$pageSize,$pageNo);
if (!$res) { if (!$res) {
return ['status'=>200,'msg'=>'此房源不存在','data'=>'']; return ['status'=>200,'msg'=>'此房源不存在','data'=>''];
} }
......
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