Mybatis和Mybatis-Plus新增id为空自动填值问题

很简单

@TableId(type = IdType.INPUT)
 private Integer id;

你可能感兴趣的:(Mybatis和Mybatis-Plus新增id为空自动填值问题)