/// <summary> /// 分页查询[使用版本,其他分页未测试] /// </summary> /// <param name="whereExpression">条件表达式</param> /// <param name="intPageIndex">页码(下标0)</param> /// <param name="intPageSize">页大小</param> /// <param name="strOrderByFileds">排序字段,如name asc,age desc</param> /// <returns></returns> public async Task <PageModel <T> > QueryPage(Expression <Func <T, bool> > whereExpression, int intPageIndex = 1, int intPageSize = 20, string strOrderByFileds = null) { return(await BaseDal.QueryPage(whereExpression, intPageIndex, intPageSize, strOrderByFileds)); }