Exemple #1
0
 /// <summary>
 /// 根据多查询条件(SQL AND)检索数据
 /// </summary>
 /// <param name="whereAnd">多查询条件</param>
 /// <param name="orderName">order字段名</param>
 /// <param name="orderValue">ASC || DESC</param>
 /// <returns></returns>
 /// <example>
 /// List<string> whereAnd = new List<string>();
 /// whereAnd.Add("RoleID=5");
 /// whereAnd.Add("IsAdmin=1");
 /// GetListByWhereAnd(whereAnd, "ID", "DESC");
 /// </example>
 public List <AuditModel> GetListByWhereAnd(IEnumerable <string> whereAnd, string orderName, string orderValue)
 {
     return(dal.GetListByWhereAnd(whereAnd, orderName, orderValue));
 }