mybatis 取查询值_Mybatis --- 映射文件、参数处理、参数值的获取、select元素
这样就可以在insert函数中获取新添加的用户的 id主键,否则获取不到select * from student where id = #{id}insert into student(name,password,email) values(#{name},#{password},#{email})编写测试单元:private EmployeeMapper mapper = null;priva...