文章目录 引言 I PageHelper 坐标 II mybatis-plus-jsqlparser 坐标 Spring Boot 添加分页插件 自定义 Mapper 方法中使用分页 注意事项 解决SQL_SERVER2005连接分页查询OFFSET问题 知识扩展 MyBatis-Plus 框架结构 mybatis-plus-jsqlparser的 Page 类 引言 PageHelper import com.github.pagehelper.PageHelper; mybatis-plus-jsqlparser 于 mybatis-plus-v3.5.9 起,PaginationInnerInterceptor 已分离出来。如需使用,则需单独引入 mybatis-plus-jsqlparser 依赖 I PageHelper 坐标 <properties> <pagehelper-spring-boot-starter.version>