Commit 16e4a6ee authored by zhuwei's avatar zhuwei

1

parent 2d361eec
......@@ -651,7 +651,7 @@ class OfficeRoomService
//房东
$result['landlord_info'] = $this->getLandlordInfo($result['id']);
//房源数
$result['room_num'] = $this->getRoomNum($result['building_id'],$result['id']);
$result['room_num'] = $this->getRoomNum($result['building_id']);
//交通信息
$result['traffic_info'] = $this->getTrafficInfo($result['building_id']);
//参考均价
......@@ -754,7 +754,7 @@ class OfficeRoomService
}
//房源数
public function getRoomNum($building_id,$id){
public function getRoomNum($building_id){
$params['building_id'] = $building_id;
// $params['id'] = array('neq',$id);
$params['is_rent'] = 0;
......
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