mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 09:08:24 +08:00
fixed 87916b4 from https://gitee.com/Suomm/mybatis-flex/pulls/83
doc: 更新 faq 说明原因。
This commit is contained in:
parent
61be7c544f
commit
9803bb490d
@ -126,8 +126,9 @@ spring:
|
|||||||
|
|
||||||
## 与 PageHelper 集成出现错误
|
## 与 PageHelper 集成出现错误
|
||||||
|
|
||||||
在社区中,一些老的项目在使用到了开源项目 PageHelper,用于解决 xml 的分页问题,在和 MyBatis-flex 整合使用中,出现了一些错误,
|
在社区中,一些老的项目在使用到了开源项目 PageHelper,用于解决 xml 的分页问题,在和 MyBatis-flex
|
||||||
需要把 `pagehelper-spring-boot-starter` 依赖替换为 `pagehelper`;
|
整合使用中,出现了一些错误,原因是 `pagehelper-spring-boot-starter` 依赖了 `mybatis-spring-boot-starter`,
|
||||||
|
此时需要把 `pagehelper-spring-boot-starter` 依赖替换为 `pagehelper`,然后手动添加 `PageInterceptor`。
|
||||||
|
|
||||||
|
|
||||||
```xml
|
```xml
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user