@Reponsitory注解
@Reponsitory
使用后,在啟動類上需要添加@MapperScan("xxx.xxx.xxx.mapper")
注解
@Mapper注解
@Mapper
注解使用后相當於@Reponsitory加@MapperScan注解,會自動進行配置加載
@Reponsitory
使用后,在啟動類上需要添加@MapperScan("xxx.xxx.xxx.mapper")
注解
@Mapper
注解使用后相當於@Reponsitory加@MapperScan注解,會自動進行配置加載
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。