jiannanchun

如果参数是array数组

 

	<update id="deleteAll">
		delete from C_V
		WHERE UUID in
		<foreach item="item" index="index" collection="array" open="("
			separator="," close=")"> #{item}
		</foreach>
		<include refid="where_appCode"/>
	</update>


如果参数是对象属性

 

 

	<update id="deleteAll">
		delete from C_V
		WHERE UUID in
		<foreach item="item" index="index" collection="code" open="("
			separator="," close=")"> #{item}
		</foreach>
		<include refid="where_appCode"/>
	</update>

 

分类:

技术点:

相关文章:

  • 2021-11-30
  • 2021-10-19
  • 2021-11-30
  • 2021-07-21
  • 2021-11-30
  • 2021-09-14
  • 2021-09-14
  • 2021-11-30
猜你喜欢
  • 2021-05-30
  • 2021-09-12
  • 2021-06-28
  • 2021-08-13
  • 2021-09-14
  • 2021-11-30
  • 2021-11-30
相关资源
相似解决方案