Commit 0614592f authored by yanzg's avatar yanzg

修改日志打印功能,打印更加详细的日志

parent c062a49e
......@@ -36,8 +36,8 @@ public class PageSizeReqVo extends BaseVo implements PageSizeReq {
* @param pageSize 每页大小
*/
public PageSizeReqVo(int pageIndex, int pageSize) {
this.pageIndex = pageIndex;
this.pageSize = pageSize;
this.setPageIndex(pageIndex);
this.setPageSize(pageSize);
}
/**
......@@ -71,7 +71,7 @@ public class PageSizeReqVo extends BaseVo implements PageSizeReq {
@Override
public PageSizeReqVo setPageIndex(int pageIndex) {
this.pageIndex = pageIndex;
this.pageIndex = Math.max(0, pageIndex);
return this;
}
......@@ -82,7 +82,7 @@ public class PageSizeReqVo extends BaseVo implements PageSizeReq {
@Override
public PageSizeReqVo setPageSize(int pageSize) {
this.pageSize = pageSize;
this.pageSize = Math.max(0, pageSize);
return this;
}
}
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