Springboot整合MyBatis-plus:数据库主键生成策略 public enum IdType{ AUTO(0), //数据库id自增 NONE(1), //未设置主键 INPUT(2), //手动输入