摘要: foreach标签主要用于构建in条件,他可以在sql中对集合进行迭代。如下: <delete id="deleteBatch"> delete from user where id in <foreach collection="array" item="id" index="index" ope 阅读全文
posted @ 2017-04-13 09:16 lc_smile36 阅读(166) 评论(0) 推荐(0) 编辑