Spring把接口都扫描成bean的解决方法

@MapperScan()只能配置成mapper接口所在的包,不能让他扫描到其他接口,否则会将其注册成bean

posted on 2020-06-12 15:39  Joequa  阅读(913)  评论(0编辑  收藏  举报