当前使用版本(必填,否则不予处理)

3.5.3.2

该问题是如何引起的?(确定最新版也有问题再提!!!)

实体类本身没有id字段,所有的实体类是继承一个IDModel,该父类中是有ID字段并有@TableId注解,但是启动时控制台报:Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method

MyBatis-Plus Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method

MyBatis-Plus Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method

报错信息

Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method