`

springboot和mybatis使用心得

阅读更多

1、mapper接口通过@Autowired注解在Service实现类中注入时,在idea中会有红色的下划线显示,解决方法是在mapper接口的上方添加@Component注解即可

 

0
0
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics