MyBatis获取insert后该对象的id值

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

 

posted @ 2018-05-23 14:54  素净  阅读(492)  评论(0编辑  收藏  举报