T - The result entity typepublic class PageResult<T> extends Object implements Serializable
| 构造器和说明 |
|---|
PageResult(int pgCt,
int pgSz)
Constructs a new page result with the current page number and page size
|
PageResult(int pgCt,
int pgSz,
int total)
Constructs a new page result with the current page number, page size, data total
|
PageResult(int pgCt,
int pgSz,
int total,
List<T> datas)
Constructs a new page result with the current page number, page size, data total, datas
|
PageResult(com.github.pagehelper.Page<T> page)
Constructs a new page result with the page helper result
|
public PageResult(int pgCt,
int pgSz)
pgCt - the current page numberpgSz - the page sizepublic PageResult(int pgCt,
int pgSz,
int total)
pgCt - the current page numberpgSz - the page sizetotal - the data totalpublic PageResult(int pgCt,
int pgSz,
int total,
List<T> datas)
pgCt - the current page numberpgSz - the page sizetotal - the data totaldatas - the dataspublic PageResult(com.github.pagehelper.Page<T> page)
page - the page helper resultCopyright © 2018. All rights reserved.