Following multiple adjustment with age, sex, and BMI, we observed that the OR for TG, duration of diabetes and ANGPTL8 were all significantly related to A2 and A3 (all P < 0.05), while ANGPTL8 had the highest OR and was significantly correlated with A2 [odds ratio (OR) 2.52 (95% CI 1.16–5.48), P = 0.019] and A3 [4.89 (95% CI 2.10–11.39), P < 0.001] in type 2 diabetes. The gene discussed is ANGPTL8; the disease is type 2 diabetes mellitus.