springboot + mybatis整合及pagehelper分页
springboot + mybatis整合及pagehelper分页
本文链接:https://blog.csdn.net/he446242377/article/details/92062619
流程:
一. 配置pom.xml文件
二. 配置application.yml文件
三. 程序启动类中使用@MapperScan()注解指定mapper(dao)接口路径
四. 使用pagehelper实现分页
一、配置pom.xml文件
<!-- boot整合web模块的依赖,此依赖中包含了springmvc的依赖 -->
<dependency>
...