org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: Could not set property 'id' of 'class com.speechb.entity.BookType' with value '1649581862303162370' Cause: java.lang.IllegalArgumentException: argument type mismatch
at
给id设置自增,不需要插件生成
@TableId(type = IdType.AUTO)
private Integer id;