```c
<update id=" ">
update table
<trim prefix="set" suffixOverrides=",">
<trim prefix="columnname= case" suffix="end,">
<foreach collection="list" item="item" index="index">
when id=#{item.id } then #{item.columnname,typeHandler=uyun.whale.common.mybatis.type.UUIDTypeHandler}
</foreach>
</trim>
</trim>
WHERE
id IN
<foreach collection="list" item="item" open="(" close=")" separator=",">
#{item.id}
</foreach>
</update>