In conclusion, the potential mechanism of Weibing Formula 1 in treating gastritis has the multicomponent, multitarget, and multiway characteristics, and PTGS2, NOS2, EGFR, MMP9, CXCL2, CXCL8, and IL-10 may be the important direct targets of Weibing Formula 1 in gastritis treatment. This evidence concerns the gene EGFR and gastritis.