mapper目录结构:
mapper
----dev
-------produce
在 application.properties 文件中配置
mybatis.mapper-locations=classpath:mapper/dev/*/*.xml, mapper/dev/*.xml
mybatis config.xml 是通过配置文件配置
spring boot d多层级mapper
原文:http://www.cnblogs.com/zhangXingSheng/p/7745006.html