mybatis配置mapperLocations多个路径

需要用到通配符

<property name="mapperLocations" value="classpath:mapper/*.xml"/>

注意需要将mapper分类到文件夹中



猜你喜欢

转载自blog.csdn.net/shezzer/article/details/80803097