1、mapper接口通过@Autowired注解在Service实现类中注入时,在idea中会有红色的下划线显示,解决方法是在mapper接口的上方添加@Component注解即可
springboot和mybatis使用心得
猜你喜欢
转载自taoxingtianxia.iteye.com/blog/2441525
今日推荐
周排行