/// <summary> /// 分页查询一个集合 /// </summary> /// <param name="index">页码</param> /// <param name="size">页大小</param> /// <param name="wheres">条件匿名类</param> /// <param name="orderField">排序字段</param> /// <param name="isDesc">是否降序排序</param> /// <returns>实体集合</returns> public IEnumerable <Orders> QueryList(int index, int size, object wheres, string orderField, bool isDesc = true) { return(_dao.QueryList(index, size, wheres, orderField, isDesc)); }