The univariate analysis showed that the risk of diabetes was positively associated with DBP, age, BMI, AST, SBP, TG, FPG at baseline, ALT, TyG index, and TC, all with a significance level of P<0.05. Here, GPT is linked to diabetes mellitus.