/// <summary> /// 分页获取数据列表 /// </summary> /// <param name="tableName">表名</param> /// <param name="pageIndex">页下标</param> /// <param name="pageSize">页显示数</param> /// <param name="condition">查询条件</param> /// <param name="orderby">排序</param> /// <returns></returns> public PagerSet GetList(string tableName, int pageIndex, int pageSize, string condition, string orderby) { return(agentData.GetList(tableName, pageIndex, pageSize, condition, orderby)); }
/// <summary> /// 分页获取数据列表 /// </summary> /// <param name="tableName">表名</param> /// <param name="where">查询条件</param> /// <param name="order">排序</param> /// <param name="pageIndex">页下标</param> /// <param name="pageSize">页显示数</param> /// <param name="fields">查询字段</param> /// <returns></returns> public PagerSet GetList(string tableName, string where, string order, int pageIndex, int pageSize, string[] fields = null) { return(agentData.GetList(tableName, where, order, pageIndex, pageSize, fields)); }