@Reponsitory使用后,在启动类上需要添加@MapperScan("xxx.xxx.xxx.mapper")注解

@Mapper注解

@Mapper注解使用后相当于@Reponsitory加@MapperScan注解,会自动进行配置加载

相关文章:

猜你喜欢
  • 2022-12-23
  • 2021-07-27
  • 2021-08-13
  • 2022-12-23
  • 2021-08-07
  • 2021-11-14
相关资源
相似解决方案