<update id="updateData" parameterType="java.util.List">
begin
<foreach collection="list" item="item" index="index" open=""
close="">
UPDATE
xxx
SET
a=#{item.a},
</foreach>
end;
</update>
<update id="updateData" parameterType="java.util.List">
begin
<foreach collection="list" item="item" index="index" open=""
close="">
UPDATE
xxx
SET
a=#{item.a},
</foreach>
end;
</update>