mybatis plus 自带的删除方法删除提示There is no getter for property named 'id' in 'class java.lang.String' 主键和getset已有
removeById 可以 但是 removeByIds就不行
Caused by: org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'id' in 'class java.lang.String'
@Data
@TableName("******")
public class ***Entity implements Serializable {
private static final long serialVersionUID = 1L;
/**
*
*/
@TableId(value = "id",type=IdType.INPUT)
private String id;