Exemplo n.º 1
0
 /// <summary>
 /// 验证黑名单已经是否存在
 /// </summary>
 /// <param name="userid">黑名单编号</param>
 /// <param name="userType">黑名单类型</param>
 /// <returns></returns>
 public static bool HasBlackList(string userid, int userType, int groupId)
 {
     return(BlackListDAL.GetBlackList(userid, userType, groupId) != null);
 }
Exemplo n.º 2
0
 /// <summary>
 /// 分页获取黑名单设置
 /// </summary>
 /// <param name="pageInfo">分页帮助类</param>
 /// <param name="condition">条件</param>
 /// <param name="tableName">表名</param>
 /// <param name="columns">列名</param>
 /// <param name="key">分页键</param>
 /// <returns></returns>
 public static IList <BlacklistModel> GetBlackLists(PaginationModel pageInfo, string condition, string tableName, string columns, string key)
 {
     return(BlackListDAL.GetBlackList(pageInfo, condition, tableName, columns, key));
 }