查看Service实现类有没有加上@Service注解 查看Mapper类有没有加@Mapper注解 在Application启动类上加@MapperScan注解,@MapperScan(value = “(Mapper所在的路径)”)
发布评论