Trademark rights are regional, that is, China's trademark rights are obtained according to the laws of China, protected by the laws of China within the territory of China, and Singapore's trademark rights are obtained according to the laws of Singapore, and protected by the laws of Singapore within the territory of Singapore. Therefore, even if the trademark is registered in Singapore first, if the trademark is not registered in China, it only enjoys the trademark right in Singapore, but not in China. Whoever first registered this trademark in China will enjoy the trademark right in China. (China implements a trademark registration system, and the trademark right is granted to the person who applied first in turn according to the time of application.)
However, there is an exception. In the case that a trademark registered in a foreign country is already a well-known trademark, except the holder of this foreign trademark can obtain trademark registration in China, even if others apply for registration of this trademark in China before the holder of foreign trademark, they will be rejected, challenged or revoked, and cannot be used. Of course, the process of dealing with trademark rights in this case is more complicated.
According to what you said, this trademark should not be a well-known trademark yet, so if there is no prior application for other identical or similar trademarks, the company in China will finally obtain the trademark right.