Mybatis-Plus插入数据后获取id 2023-3-01 14:35 | 102 | 0 | 随笔 2 字 | 几秒读完 save(entity); var newId=entity.getId(); Mybatis-Plus