spring整合mybatis springboot整合mybatis 同样创建boot项目 , 还得勾选SQL的两个选项 二,在yml文件设置数据源 三 , dao接口与doman接收数据实体类(省略) 五 ,测试类