@Reponsitory使用後,在啓動類上須要添加@MapperScan("xxx.xxx.xxx.mapper")註解app
@Reponsitory
@MapperScan("xxx.xxx.xxx.mapper")
@Mapper註解使用後至關於@Reponsitory加@MapperScan註解,會自動進行配置加載code
@Mapper