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

<!--实现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> -->

posted @ 2018-11-08 11:51  我爱si搬砖  阅读(211)  评论(0编辑  收藏  举报