SpringBoot2.0.5集成pagehelper
方案一
http://www.cnblogs.com/1315925303zxz/p/7364552.html
https://mvnrepository.com/artifact/com.github.pagehelper/pagehelper/5.1.8
总结:
1. 在pom.xml中配置
2. @configration中配置拦截器
3. Dao接口中使用pagerowbounds
方案二
方案一
http://www.cnblogs.com/1315925303zxz/p/7364552.html
https://mvnrepository.com/artifact/com.github.pagehelper/pagehelper/5.1.8
总结:
1. 在pom.xml中配置
2. @configration中配置拦截器
3. Dao接口中使用pagerowbounds
方案二