mybatis 返回主键问题

id=“insertReturnKey” parameterType=“org.carddoc.common.entity.CardInfoEntity” useGeneratedKeys=“true” keyProperty=“cardid” keyColumn=“cardId” 返回自增主键是返回到你传的那个对象中的主键,不是返回到你这个方法操作结果中
相关文章
相关标签/搜索