映射文件接收持久层传递的数据

<!--实现item数据状态更新操作
map集合 collection="map中的key"
array数组 collection="array"
List集合 collection="list"
-->
<!-- <update id="updateStatus">
update tb_item set status = #{status},updated = now()
where id in (
<foreach collection="ids" item="id" separator=",">
#{id}
</foreach>
)
</update> -->

原文地址:https://www.cnblogs.com/gxlaqj/p/9928210.html