Mediation analysis showed only TC, LDL-C, and Apo-B had small significant mediated effects, with 2.9%, 2.3%, and 3.1% of the total effects of rs2237895 on T2DM being mediated by them, respectively. This evidence concerns the gene APOB and type 2 diabetes mellitus.