Pre-pregnancy BMI, ALT, GGT, FPG, insulin, HOMA-IR, TG, NAFLD, and AIP all showed a positive correlation with the risk of GDM, while HDL had an inverse association with GDM risk. The gene discussed is INS; the disease is autoimmune pancreatitis.