Will stay at a Shanghai hotel be a problem under the transit policy?

english.shanghai.gov.cn

A: No. The border inspection authority will issue a temporary entry permit sticker, which will be stamped in your passport. The permit will indicate your arrival port, arrival time, permitted duration and region of stay. With this permit, you can check into a hotel or register for your stay.

 

Source: Shanghai Exit-Entry Border Inspection General Station