spring boot d多层级mapper

Posted 薛定谔的猫!

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了spring boot d多层级mapper相关的知识,希望对你有一定的参考价值。

mapper目录结构:
 
mapper
----dev
-------produce
 
在 application.properties 文件中配置
mybatis.mapper-locations=classpath:mapper/dev/*/*.xml, mapper/dev/*.xml
 
 mybatis config.xml  是通过配置文件配置

以上是关于spring boot d多层级mapper的主要内容,如果未能解决你的问题,请参考以下文章