Loading

摘要: 1.首先了解@Mapper与@MapperScan注解 在Spring框架中,我们就会在Mapper接口层中加入@Component注解实例化接口实现类,然后使用@Autowired进行装配;但是在SpringBoot+MyBatis的框架中,我们需要持久化Mapper接口层,又多了两种方式实例化接 阅读全文
posted @ 2023-03-21 12:45 StormArcita 阅读(678) 评论(0) 推荐(0)