application.yml文件中添加配置:
mybatis:
mapper-locations: classpath:mappers/*.xml
(告诉 Mapper 所对应的 XML 文件位置)多个目录用逗号或者分号分隔
如:
mybatis-plus:
mapper-locations: classpath:mapper/action/*.xml,classpath:mapper/moving/*.xml
因篇幅问题不能全部显示,请点此查看更多更全内容
Copyright © 2019- zicool.com 版权所有 湘ICP备2023022495号-2
违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com
本站由北京市万商天勤律师事务所王兴未律师提供法律服务