

What type of visa do I require while in China since I don't qualify for the 144 hour?
I am a Canadian with a Canadian passport, I arrive in Beijing on July 11, 2019 and travel to forbidden city, Mutianyu great wall of China, summer palace etc and leave Beijing on July 14, 2019 to travel to Vietnam. Unfortunately we have a stop over in Shenzhen on July 14, 2019 from 10:50pm to July 15th 12:20am on our way to Vietnam. On my way home back to Canada, I depart Vietnam on July 28th and pass through Hong Kong on July 28th with 3 hour layover then depart for Canada on July 28th. I understand I don't require a visa for Hong Kong since I hold a Canadian passport, however, I don't understand for my tourist visa to China if I need a Q or S because I am now 'double entry' once in Beijing on July 11th and once in Hong Kong? Or is it only a single entry since I don't require a visa for Hong Kong.