When the project uses the PageHelper plug-in, all queries have no paging effect. After searching online, I finally found that my problem is that the version dependency is incorrect.
After version 2.0x, the dependency should be changed to: (you can refer to other version dependencies of your own project team, search com.github.pagehelper to view)
<!-- pagehelper 分页插件 -->
<pagehelper.boot.version>1.3.0</pagehelper.boot.version>
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper-spring-boot-starter</artifactId>
<version>${pagehelper.boot.version}</version>
</dependency>