人人开源自动生成的mybatis save时遇到主键递增的字段怎么办

在entity对应的字段上添加注解:@TableId(type = IdType.INPUT)

posted @ 2020-12-25 16:55  外星飞碟176  阅读(79)  评论(0编辑  收藏  举报