Commit cacdb575 by mobh

修改问题

parent af76a3fd
......@@ -41,7 +41,7 @@ public class Page {
this.totalPage = totalPage;
}
public Integer getOffset() {
return this.getCurrentPage() > 0 ? (this.getCurrentPage() - 1) * this.totalPage : 0;
return this.getCurrentPage() > 0 ? (this.getCurrentPage() - 1) * this.getTotalPage() : 0;
}
public void setOffset(Integer offset) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment