In general terms, barium x-ray examination is better for general gastric morphology, contractile function, submucosal or extragastric pressure lesions and lesion localization, while gastroscopy allows observation of gastric mucosal changes, lesion size, morphology, and especially direct biopsy to obtain pathological diagnosis, and is intuitive with very low false negative and false positive rates. This is the unique advantage of gastroscopy. The two can be combined to complement each other’s advantages and improve the diagnostic rate. Advantages of gastroscopy: 1, intuitive: the mucosa of the esophagus, stomach, duodenal bulb and post-bulb, and descending can be directly observed, and with magnification, which is more convenient and beneficial for diagnosis. 2, accurate: through the gastroscope can directly see whether the lesion exists, color, size and shape, and the state of the surrounding mucosa, and can be stained for further observation, and can take a biopsy, which is not available in other examination methods. 3, safety: gastroscope body is soft, the light source is cold light source, no radiation radiation, the application of safety, patients only mild nausea and vomiting, the absolute contraindications significantly reduced, many upper gastrointestinal emergencies such as vomiting blood, black stool, etc. can be emergency gastroscopy, to ensure timely diagnosis, improve the cure rate. 4, parallel diagnosis and treatment: At present, gastroscopy is no longer a simple diagnosis, but an advanced means of diagnosis and treatment at the same time, so that many patients who used to need caesarean section surgery are exempted from the pain of open surgery, such as electrocoagulation, electrodesection, injection, laser and placement of stents, lithotripsy, foreign body removal, etc. 5.Complete and reliable information: films can be taken to maintain the original image, and the report sheet is graphic and intuitive, facilitating consultation and review. Compared with gastroscopy, X-ray gastrointestinal fluoroscopy is characterized by a longer history of clinical application, the general opinion that the examination is less painful, the overall understanding of the site of the lesion, the size and relationship with the entire stomach, the overall morphology of the stomach can be seen, peristaltic state, the lesion site is more accurate than gastroscopy, but not direct signs, so the positive rate, accuracy is not as good as gastroscopy, and can not be biopsied, can not be treated at the same time, also subject to It is also influenced by the experience of the examiner and is easy to miss the diagnosis. Therefore, gastroscopy has become popular and increasing in the diagnosis of gastrointestinal diseases, and is accepted by most patients. In practice, it is necessary for doctors to examine carefully and decide whether X-ray gastrointestinal fluoroscopy or gastroscopy is needed.