Mybatis里PageHelper的分页

com.github.pagehelper.Page#Page(int, int, boolean, java.lang.Boolean) 130
pageNum == 1 && pageSize == Integer.MAX_VALUE设置则不分页,设置pageSize=0并且pageSizeZero=true

继续看拦截器请求

注意如果是平时,pageSize<=0是不会去分页,pageSize=0回去count,
com.github.pagehelper.dialect.AbstractHelperDialect#afterCount

com.github.pagehelper.dialect.AbstractHelperDialect#beforePage

com.github.pagehelper.util.ExecutorUtil#pageQuery

posted @ 2024-08-16 17:28  8023渡劫  阅读(17)  评论(0)    收藏  举报