@Reponsitory注解
@Reponsitory
使用后,在启动类上需要添加@MapperScan("xxx.xxx.xxx.mapper")
注解
@Mapper注解
@Mapper
注解使用后相当于@Reponsitory加@MapperScan注解,会自动进行配置加载
@Reponsitory
使用后,在启动类上需要添加@MapperScan("xxx.xxx.xxx.mapper")
注解
@Mapper
注解使用后相当于@Reponsitory加@MapperScan注解,会自动进行配置加载
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。