Full or partial lockdowns were imposed in major centres across the country in March and April, including the most populous city Shanghai, hitting production and consumption and heightening risks for those parts of the global economy heavily dependent on China.