Toilets at the train station are just holes in the floor into the ground. There is no plumbing to back up in many public places.
The train stations in Shanghai (central and south stations) have plumbing. Most of the toilets are squat types, but still have flush mechanisms. There are a few sit-down toilets, but like most of the rest of the world, toilets are squatting situations.