POM文件的配置:

mybatis.type-aliases-package=com.handsight.platform.fras
mybatis.mapper-locations=classpath:mapper/model/*.xml
mybatis.config-location=classpath:mapper/dbConfig.xml

文件结构:

 

springboot的mybatis的xml相关的配置

相关文章: