Mybatis PageHelper不起作用修改
刚接手一个项目,看框架过程发现项目中的分页还是原始的手写方式,这样的效率太低了,然后引入了mybatis的分页插件PageHelper,但是测试后一直不起作用,最终经过一番耐心查找后发现是引入的pagehelper的问题
原式的引入方式

由于项目中用的是mybatis-spring-boot-starter,如下

所以对应的pagehelper也应该是一样的,替换成如下的引入方式,测试项目运行ok

的美丽世界
刚接手一个项目,看框架过程发现项目中的分页还是原始的手写方式,这样的效率太低了,然后引入了mybatis的分页插件PageHelper,但是测试后一直不起作用,最终经过一番耐心查找后发现是引入的pagehelper的问题
原式的引入方式
由于项目中用的是mybatis-spring-boot-starter,如下
所以对应的pagehelper也应该是一样的,替换成如下的引入方式,测试项目运行ok
LlqURmCarxXObJhi
gwuWNbsdjCFKltX
you are really a good webmaster. The web site loading velocity is amazing.
It sort of feels that you’re doing any distinctive
trick. Furthermore, The contents are masterpiece.
you have performed a great task on this matter!
qBgiOjUPwSA
It’s not my first time to visit this web page, i am browsing this site
dailly and obtain nice information from here daily.
要发表评论,您必须先登录。
5 COMMENTS