This commit is contained in:
Looly
2023-03-17 00:35:27 +08:00
parent 569512fb56
commit ed512e3377
4 changed files with 77 additions and 34 deletions

View File

@@ -65,7 +65,7 @@ public class PageResult<T> extends ArrayList<T> {
this(page, pageSize);
this.total = total;
this.totalPage = PageInfo.of(total, pageSize).getPages();
this.totalPage = PageInfo.of(total, pageSize).getPageCount();
}
//---------------------------------------------------------- Constructor end