如何在mybatis中拿到自增的id

例如我的主键id为candidateId <selectKey keyProperty="candidateId" resultType="java.lang.Integer" order="AFTER"> select LAST_INSERT_ID() </selectKey>    
相关文章
相关标签/搜索