T - The result entity typepublic class MybatisPageResult<T> extends PageResult<T>
| 构造器和说明 |
|---|
MybatisPageResult(int pgCt,
int pgSz)
Constructs a new page result with the current page number and page size
|
MybatisPageResult(int pgCt,
int pgSz,
int total)
Constructs a new page result with the current page number, page size, data total
|
MybatisPageResult(int pgCt,
int pgSz,
int total,
List<T> datas)
Constructs a new page result with the current page number, page size, data total, datas
|
MybatisPageResult(com.baomidou.mybatisplus.core.metadata.IPage<T> page)
Constructs a new page result with the page helper result
|
public MybatisPageResult(int pgCt,
int pgSz)
pgCt - the current page numberpgSz - the page sizepublic MybatisPageResult(int pgCt,
int pgSz,
int total)
pgCt - the current page numberpgSz - the page sizetotal - the data totalpublic MybatisPageResult(int pgCt,
int pgSz,
int total,
List<T> datas)
pgCt - the current page numberpgSz - the page sizetotal - the data totaldatas - the dataspublic MybatisPageResult(com.baomidou.mybatisplus.core.metadata.IPage<T> page)
page - the page helper resultCopyright © 2019. All rights reserved.