使用PageHelper.startPage分页时,出现的问题

Mr.Jia 2024-9-18 198 9/18

本来时在控制层对A的service进行分页,但是A的service中调用了多个Mapper,导致调用的所有Mapper都自动添加了limit

使用PageHelper提供了clearPage()方法

- THE END -
Tag:

Mr.Jia

2月21日09:50

最后修改:2025年2月21日
0

共有 0 条评论