/// <summary> /// 数据分页 /// </summary> /// <param name="where">条件的lambda</param> /// <param name="order">排序的lambda</param> /// <param name="total">总数,返回值</param> /// <param name="pageSize">每一页数据的大小</param> /// <param name="pageIndex">当前页索引</param> /// <param name="isAsc">排序方式,true为正序,false为倒序</param> /// <returns></returns> public IList <T> GetPageList <S>(Expression <Func <T, bool> > where, Func <T, S> order, out int total, int pageSize = 10, int pageIndex = 1, bool isAsc = false) { return(_baseDal.GetPageList(where, order, out total, pageSize, pageIndex, isAsc)); }