Exemplo n.º 1
0
 public function getCommMapCorrectTrackNumByBrokerId($userid, $opentime)
 {
     apf_require_class("ORM_AnjukeORM");
     $orm = new ORM_AnjukeORM('log_modify_commmap');
     $rst = $orm->getCnt('UserId=? and PostTime > ?', array($userid, $opentime), true);
     return !$rst ? 0 : $rst;
 }
Exemplo n.º 2
0
 public static function IsExistsOtherCommName($CommId, $AreaCode)
 {
     $objORM = new ORM_AnjukeORM('ajk_communitys');
     $strWhere = " CommId in ( ? ) and AreaCode like '" . $AreaCode . "%'";
     $arrParams = array($CommId);
     $objORM->disableCache();
     return $objORM->getCnt($strWhere, $arrParams);
 }
Exemplo n.º 3
0
 /**
  * 获取好友总人数
  */
 public static function getFriendsCnt($condition, $params, $refresh = false)
 {
     $orm = new ORM_AnjukeORM('friend_list');
     return $orm->getCnt($condition, $params, $refresh);
 }