Transactions surged in Beijing and Shanghai in the first half of this year as companies and local investors acquired discounted assets after overseas buyers pulled back