SpringBoot配置mybatis的配置文件

springboot工程目录如下: mybatis的配置文件分在不同的文件夹下的配置方法为:在application.properties文件中添加 mybatis.mapper-locations=classpath*:mybatis/mapper/check/*.xml,classpath*:mybatis/mapper/user/*.xml,classpath*:mybatis/mapper
相关文章
相关标签/搜索