mayabits 批量修改foreach
2020-06-19 本文已影响0人
xiari1991
<!-- 批量删除 -->
<update id="updateByBatch" parameterType="java.util.List">
<foreach collection="list" separator=";" item="id">
update tbl_equipment set is_delete=1 where id=#{id, jdbcType=INTEGER}
</foreach>
</update>