mybatis-plus 设置主键自增。插入后并返回

@TableId(value = "id", type = IdType.AUTO)
private Long id;


posted @ 2023-09-11 17:31  八英里  阅读(133)  评论(0编辑  收藏  举报