The depression group showed significantly higher levels of ApoB, TyG, gTyG, Age, T, CHO, CH50, SG, Cl, TG, A/G, DBIL, RDWSD, FDP, PLT, and HGB and higher prevalence of hypertension, CHD, diabetes, stroke, OP, and anemia (all P < 0.05). This evidence concerns the gene APOB and diabetes mellitus.