刚用mybatis 的分页插件时,老项目中分页封装的分页类起始为( pageno-1)* pagesize  于是直直接在pagehelper.start(start,pagesize)来进行分页。结果就是查询捕到数据

只能看官方文档找原因。结果pagehelper.start() 默认初始位置为从1开始。受了limit 的毒害致使找了老半天原因
---------------------
作者:gwself
来源:CSDN
原文:https://blog.csdn.net/gwself/article/details/73468139
版权声明:本文为博主原创文章,转载请附上博文链接!

相关文章:

  • 2022-12-23
  • 2021-12-27
  • 2021-11-08
  • 2022-12-23
  • 2022-12-23
  • 2021-06-21
  • 2021-11-23
  • 2021-12-23
猜你喜欢
  • 2021-11-07
  • 2022-12-23
  • 2021-08-09
  • 2021-06-26
  • 2022-12-23
相关资源
相似解决方案