diff --git a/platform-common/src/main/java/com/lyms/platform/common/result/PageResult.java b/platform-common/src/main/java/com/lyms/platform/common/result/PageResult.java index 0cb185c..ebe5c65 100644 --- a/platform-common/src/main/java/com/lyms/platform/common/result/PageResult.java +++ b/platform-common/src/main/java/com/lyms/platform/common/result/PageResult.java @@ -18,10 +18,10 @@ public class PageResult extends BaseModel { public PageResult(Integer count, Integer page, Integer limit, Object rows) { this.count = count; -// this.page = page; + this.page = page; this.limit = limit; this.grid = rows; - this.page = ((count - 1)/this.limit) + 1; +// this.page = ((count - 1)/this.limit) + 1; this.lastPage = ((count - 1)/this.limit) + 1; }