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