Mybatis插入一条数据,返回插入数据的id值 应用环境 Mybatis、Mysql 实体类 Mapper接口 Mapper.xml文件中的insert语句 id值 id值将会返回到insert方法对象参数里面的id属性上。 相关文章: