Torrential rain has battered several provinces in China, leaving multiple casualties and affecting the lives of tens of thousands of people.