SpringCloud学习1-SpringBoot项目搭建
一.Mybatis(通用mapper和SpringBoot整合)
parent springboot启动坐标和web项目坐标
(1)子模块 pom.xml坐标依赖


(2)application.yml配置


(3)注意事项
使用通用mapper springBoot启动类上@MapperScan("com.rongxing.mapper")
--(4) pagehelper插件分页的实现

Postmain测试分页接口数据

一.Mybatis(通用mapper和SpringBoot整合)
parent springboot启动坐标和web项目坐标
(1)子模块 pom.xml坐标依赖


(2)application.yml配置


(3)注意事项
使用通用mapper springBoot启动类上@MapperScan("com.rongxing.mapper")
--(4) pagehelper插件分页的实现

Postmain测试分页接口数据
