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