public interface IPage<T>
| 限定符和类型 | 方法和说明 |
|---|---|
long |
getCurrent()
当前页,默认 1
|
List<T> |
getRecords()
分页记录列表
|
long |
getSize()
获取每页显示条数
|
long |
getTotal()
当前满足条件总行数
|
List<OrderItem> |
orders()
获取排序信息,排序的字段和正反序
|
IPage<T> |
setCurrent(long current)
设置当前页
|
IPage<T> |
setRecords(List<T> records)
设置分页记录列表
|
IPage<T> |
setSize(long size)
设置每页显示条数
|
IPage<T> |
setTotal(long total)
设置当前满足条件总行数
|
Copyright © 2024. All rights reserved.