Mybatis-Plus插入数据后获取id 2023-3-01 14:35 | 727 | 开发笔记 2 字 | 几秒读完 save(entity); var newId=entity.getId(); 赞赏 Mybatis-Plus