摘要: 解决IDEA的项目mapper标红问题,根据自己的情况选择合适的注解 1、使用@mapper后,不需要在spring配置中设置扫描地址,通过mapper.xml里面的namespace属性对应相关的mapper类,spring将动态的生成Bean后注入到ServiceImpl中。 2、@reposi 阅读全文
posted @ 2022-01-20 17:35 durtime 阅读(600) 评论(0) 推荐(0)