MyBatis获取insert后该对象的id值

 <insert id="insertTest" parameterType="org.sujing.Test" useGeneratedKeys="true" keyProperty="id">

 

相关文章: