mapping中 if的简单使用

<insert >如果条件id=2 时执行
(name,adress)
VALUES(#{name},#{adress});
</if>
</insert>

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-02-15
  • 2022-12-23
  • 2021-10-21
  • 2021-11-13
  • 2021-10-27
  • 2021-05-23
猜你喜欢
  • 2022-12-23
  • 2021-11-26
  • 2021-07-29
  • 2021-11-13
  • 2022-12-23
  • 2021-08-14
  • 2022-12-23
相关资源
相似解决方案