首页 新闻 会员 周边
3
回答数

待解决问题 5 springboot 包扫描问题

项目使用了springboot + mybatis 框架,使用了mybatis的generator生成代码,其中xxxMapper接口不能被spring管理,需要在启动类上面加@MapperScan(