Among them, having a smoking habit and higher levels of age, height, weight, BMI, SBP, DBP, FPG, TC, TG, LDL-C, ALT, AST were significantly associated with an increased risk of diabetes. Here, GPT is linked to diabetes mellitus.