pijunqi

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

分类:

技术点:

相关文章: