类的使用
cn.huermao.framework.base.BasePageResult
-
使用BasePageResult的程序包 程序包 说明 cn.huermao.framework.base cn.huermao.framework.utils -
-
cn.huermao.framework.base中BasePageResult的使用
返回BasePageResult的cn.huermao.framework.base中的方法 修饰符和类型 方法 说明 BasePageResult<T>BasePageResult. bind(com.github.pagehelper.PageInfo<T> pageInfo)static <T> BasePageResult<T>BasePageResult. generate(com.github.pagehelper.PageInfo<T> pageInfo) -
cn.huermao.framework.utils中BasePageResult的使用
返回BasePageResult的cn.huermao.framework.utils中的方法 修饰符和类型 方法 说明 <T> BasePageResult<T>MongoPageHelper. pageQuery(org.springframework.data.mongodb.core.query.Query query, Class<T> entityClass, String collectionName, Integer pageNum, Integer pageSize)分页查询,直接返回集合类型的结果.<T,R>
BasePageResult<R>MongoPageHelper. pageQuery(org.springframework.data.mongodb.core.query.Query query, Class<T> entityClass, String collectionName, java.util.function.Function<T,R> mapper, Integer pageNum, Integer pageSize)分页查询,不考虑条件分页,直接使用skip-limit来分页.<T,R>
BasePageResult<R>MongoPageHelper. pageQuery(org.springframework.data.mongodb.core.query.Query query, Class<T> entityClass, String collectionName, java.util.function.Function<T,R> mapper, Integer pageNum, Integer pageSize, Long lastId)分页查询.
-