Springboot整合mybaties 导入mysql依赖和mybatis依赖 配置application.properties文件 Mapper类 注解方式: 扫描Mapper包,@MapperScan Service类