예제 #1
0
 /// <summary>
 /// 分页查询
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="sql">sql查询语句</param>
 /// <param name="param">sql参数</param>
 /// <param name="pageIndex">页索引</param>
 /// <param name="pageSize">页大小</param>
 /// <param name="orderBy">排序</param>
 /// <returns></returns>
 public PageList <T> GetPageList <T, R>(string sql, R parms, int pageIndex, int pageSize, string orderBy)
 {
     return(baseDao.GetPageList <T, R>(sql, parms, pageIndex, pageSize, orderBy));
 }