| 程序包 | 说明 |
|---|---|
| com.dynamic.sql.plugins.pagination |
| 限定符和类型 | 类和说明 |
|---|---|
class |
ConditionPageInfo<T> |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> PageInfo<T> |
PageInfo.empty()
快速构建空分页对象,默认页码为 1,页大小为 10,数据为 null。
|
static <T> PageInfo<T> |
PageInfo.empty(int pageIndex,
int pageSize)
快速构建空分页对象,指定页码和页大小,数据为 null。
|
static <T> PageInfo<T> |
PageInfo.empty(int pageIndex,
int pageSize,
T records)
快速构建空分页对象,支持自定义页码、页大小和数据内容。
|
PageInfo<T> |
PageInfo.selectNextPage(Supplier<T> selectSupplier)
已过时。
方法设计不合理,不需要重新返回对象,也不需要重复传递查询语句
|
<T> PageInfo<List<T>> |
PageHelper.LogicPageHelper.selectPage(Collection<T> collection)
对集合进行逻辑分页,返回包含分页信息的
PageInfo。 |
<T> PageInfo<T> |
PageHelper.GeneralPageHelper.selectPage(Supplier<T> selectSupplier)
执行分页查询并返回分页结果
PageInfo 对象。 |
| 构造器和说明 |
|---|
ConditionPageInfo(PageInfo<T> pageInfo,
Consumer<WhereCondition> condition) |
Copyright © 2024–2025 Dynamic-SQL. All rights reserved.