If you want to visit Hong Kong, Macao, and Taiwan, you need VISA for multiple entries, since they are considered international travel, with the right to pass through customs, stamp in passport, etc. The other option is to make these countries before entering 'Mailand China' or when to leave once and for all.