spring boot 中使用mybatis
1.yml文件中读取xml配置文件
2.xml配置,使用mybatis的 mapper namespace对应上边定义的Dao
3.controller调用service service调用dao
aaabbbcccddd 2020-04-09 23:21 原文
spring boot 中使用mybatis
1.yml文件中读取xml配置文件
2.xml配置,使用mybatis的 mapper namespace对应上边定义的Dao
3.controller调用service service调用dao