Example #1
0
        /// <summary>
        /// 根据名单ID获取对应的用户列表
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public List <SimpleUserInfo> GetSimpleUserByBlackIP(string id)
        {
            IBlackIP dal        = baseDal as IBlackIP;
            string   userIdList = "-1," + dal.GetUserIdList(id);

            return(BLLFactory <User> .Instance.GetSimpleUsers(userIdList.Trim(',')));
        }
Example #2
0
        /// <summary>
        /// 根据名单ID获取对应的用户列表
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public List <SimpleUserInfo> GetSimpleUserByBlackIP(Int32 Id)
        {
            string userIdList = "-1," + dal.GetUserIdList(Id);

            return(BLLFactory <User> .Instance.GetSimpleUsers(userIdList.Trim(',')));
        }