These results indicate that the diagnostic criteria of G-17 and ALDH1 in gastric juice for evaluating gastric cancer and precancerous diseases are consistent with the gold standard to a certain extent, and can be used as a reference index for early screening of gastric cancer and precancerous diseases. Here, ALDH1A1 is linked to gastric cancer.