SpringBoot整合MybatisPlus,yml中配置mybatis.mapperLocations,扫描Mapper.xml

SpringBoot整合MybatisPlus,yml中配置mybatis.mapperLocations,扫描Mapper.xml,第1张

mybatis-plus:
  mapper-locations: classpath:mapper/*.xml

创建在resources目录下 ->创建mapper目录->创建xxx.xml文件

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/langs/891381.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-14
下一篇2022-05-14

发表评论

登录后才能评论

评论列表(0条)

    保存