mybatis 返回主鍵問題

id=「insertReturnKey」 parameterType=「org.carddoc.common.entity.CardInfoEntity」 useGeneratedKeys=「true」 keyProperty=「cardid」 keyColumn=「cardId」 返回自增主鍵是返回到你傳的那個對象中的主鍵,不是返回到你這個方法操作結果中
相關文章
相關標籤/搜索