| 123456789101112131415161718192021222324252627 |
- using CallCenterApi.DB;
- using System;
- using System.Collections.Generic;
- using System.Data;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace CallCenterApi.DAL
- {
- public class PagerDAL
- {
- /// <summary>
- /// 分页获取数据
- /// </summary>
- /// <param name="PageSize"></param>
- /// <param name="PageIndex"></param>
- /// <param name="strWhere"></param>
- /// <returns></returns>
- public static DataTable GetListPager(string TableName, string PK, string Fields, string WhereStr, string OrderStr, int PageSize, int PageIndex, bool IsCount, out int RecordCount)
- {
- DataTable dt = DbHelperSQL.RunPagination(TableName, PK, Fields, WhereStr, OrderStr, PageSize, PageIndex, IsCount, out RecordCount);
- return dt;
- }
- }
- }
|