我的问题出现在mapper层
原因是yml文件中配置的问题
mybatis-plus: mapper-locations: classpath:mapping/*.xml
因为是mybatisplus自动生成代码 多了一层
应改为
mybatis-plus: mapper-locations: classpath:mapping/*/*.xml

版权声明:本文为pijunqi原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://www.cnblogs.com/pijunqi/p/13891700.html