摘要: 在添加了@MapperScan注解之后,我们不需要在每一个Mapper接口中添加@Mapper注解,但是需要在MapperScan注解中添加我们编写的mapper文件的位置 @Configuration @MapperScan(basePackages = "com.just1t.yygh.serv 阅读全文
posted @ 2022-12-09 21:30 just1t 阅读(259) 评论(0) 推荐(0) 编辑