mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix code
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user