Exemplo n.º 1
0
 static function getAreaCode($TypeId)
 {
     $objORM = new ORM_AnjukeORM('ajk_commtype');
     $strWhere = "TypeId=?";
     $arrParams = array($TypeId);
     return $objORM->getlist($strWhere, $arrParams);
 }
Exemplo n.º 2
0
 /**
  * 获取区域
  * @param int $City, 城市id
  * @param int $ParentId, 区域的父id
  */
 static function getAreaList($City, $ParentId)
 {
     $objORM = new ORM_AnjukeORM('ajk_commtype');
     $strWhere = "CityId=? and ParentId=? and TypeFlag=0";
     $arrParams = array($City, $ParentId);
     return $objORM->getlist($strWhere, $arrParams);
 }
Exemplo n.º 3
0
 public static function getActivityCentre()
 {
     $objORM = new ORM_AnjukeORM('ajk_activity');
     return $objORM->getlist('IsDel = 0 order by BeginDate desc', array(), true);
 }