<selectKey keyProperty="id" resultType="int" order="AFTER">
            select LAST_INSERT_ID()
</selectKey>

直接在插入SQL里面加

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-16
  • 2021-08-13
  • 2021-08-15
猜你喜欢
  • 2021-11-17
  • 2022-12-23
  • 2021-12-17
  • 2022-01-02
  • 2021-11-07
  • 2021-12-20
相关资源
相似解决方案