@Reponsitory使用后,在启动类上须要添加@MapperScan("xxx.xxx.xxx.mapper")注解app
@Reponsitory
@MapperScan("xxx.xxx.xxx.mapper")
@Mapper注解使用后至关于@Reponsitory加@MapperScan注解,会自动进行配置加载code
@Mapper