@TableId(value = "id", type = IdType.AUTO) private Integer id;
改成
@TableId(value = "id", type = IdType.INPUT) private Integer id;