예제 #1
0
 /**
  * 获取房源的定价计划ID
  *
  * @param int $brokerId
  * @param int $houseId
  * @param int $cityId
  * @return int
  */
 public static function getPlanIdByHouseId($brokerId, $houseId, $cityId)
 {
     $fixPlanRelation = Model_Plan_EsfPropFixedPlanRelation::getRelationByHouseId($houseId, $brokerId, $cityId);
     if (empty($fixPlanRelation)) {
         return 0;
     }
     return $fixPlanRelation['planId'];
 }