With the simple T2DM group as the reference, CRP (OR= 5.35, 95% CI 1.49-19.13) and 25(OH) D (OR= 0.88, 95% CI 0.78-0.98) were the influencing factors of microvascular lesions in T2DM patients; CRP IL-6, SII, and 25(OH) D were influencing factors of macrovascular lesions in type 2 diabetes mellitus (T2DM) patients (OR = 14.99, 95% CI 2.84-79.13; OR= 27.92, 95% CI 4.24-183.92; OR= 1.01, 95% CI 1.00-1.02; OR= 0.74, 95% CI 0.60-0.92). This evidence concerns the gene IL6 and type 2 diabetes mellitus.