GSTM1 and Ascites: After adjusting for variables such as painless, endoscopic therapy frequency, lymphocyte, Hb, AST, varicose veins, splenic thickness, ascites grade, and shock, endoscopic primary prophylaxis decreased the risk of rebleeding after endoscopic therapy by 0.804 times compared with those without endoscopic primary prophylaxis (OR = 0.196, 95%CI: 0.085–0.451, P < 0.001).