UPDATE t_storage SET used = used + #{count},residue = residue - #{count} WHERE product_id = #{productId}