static function getHZBrokermapping($condition, $params, $p_bolStrictMaster = true, $refresh = false) { $objORM = new ORM_RentORM('broker_mapping', $p_bolStrictMaster); $result = $objORM->getList($condition, $params, $refresh); return $result[0]; }
public static function get_ajk_from_mapping($intBrokerId) { $objRentORM = new ORM_RentORM('broker_mapping'); return current($objRentORM->getList("`brokerid`=? limit 1", array($intBrokerId))); }
public function get_area_byid($id, $cacheRow_flg = false, $cacheList_flg = false) { $_objRentORM = new ORM_RentORM('area'); $result = current($_objRentORM->getList("`id`=? and `typeflag`='1' limit 1", array($id), $cacheRow_flg, $cacheList_flg)); return $result ? $result : array(); }
public static function get_price_list_by_cityid($cityid) { $where = "city_id = ? AND flg <> 0"; $_objRentORM = new ORM_RentORM('zf_price_choice'); $info = $_objRentORM->getList($where, array($cityid), true, true); return $info; }