Commit bec54ce87dc5e009828eff60fab89700d444fd48
1 parent
149b0faab8
Exists in
master
and in
6 other branches
page修改
Showing 1 changed file with 2 additions and 2 deletions
platform-common/src/main/java/com/lyms/platform/common/result/PageResult.java
View file @
bec54ce
... | ... | @@ -18,10 +18,10 @@ |
18 | 18 | public PageResult(Integer count, Integer page, Integer limit, |
19 | 19 | Object rows) { |
20 | 20 | this.count = count; |
21 | -// this.page = page; | |
21 | + this.page = page; | |
22 | 22 | this.limit = limit; |
23 | 23 | this.grid = rows; |
24 | - this.page = ((count - 1)/this.limit) + 1; | |
24 | +// this.page = ((count - 1)/this.limit) + 1; | |
25 | 25 | this.lastPage = ((count - 1)/this.limit) + 1; |
26 | 26 | } |
27 | 27 |