@Mapper和@Repository注解的区别 其他 2021-03-06 22:54 0 阅读 @Reponsitory使用后,在启动类上需要添加@MapperScan(“xxx.xxx.xxx.mapper”)注解 @Mapper注解使用后相当于@Reponsitory加@MapperScan注解,会自动进行配置加载 猜你喜欢