<update id="updCamNum" parameterType="map">
UPDATE t_st_area_net
<trim prefix="set" suffixOverrides=",">
<trim prefix="cam_num = case" suffix="end,">
<foreach collection="list" item="item" index="index">
WHEN id=#{item.id} THEN #{item.camNum}
</foreach>
</trim>
</trim>
WHERE id IN
<foreach collection="list" index="index" item="item" separator="," open="(" close=")">
#{item.id}
</foreach>
</update>