/// <summary> /// 根据查询条件(SQL语句)检索数据 /// </summary> /// <param name="where">where查询条件</param> /// <param name="orderName">order字段名</param> /// <param name="orderValue">ASC || DESC</param> /// <returns></returns> /// <example> /// GetListByWhere("RoleID=5", "ID", "ASC"); /// </example> public List <AuditModel> GetListByWhere(string where, string orderName, string orderValue = "ASC") { return(dal.GetListByWhere(where, orderName, orderValue)); }