Single variable logistic analysis results showed that body mass index (BMI) (p = 0.023), DM duration (p < 0.001), apoE (p < 0.001), apoC-II/apo C-III (p < 0.001), apoE/apoC-II (p < 0.001), atherogenic index (p = 0.013), fasting glucose (p < 0.001), HbA1c (p < 0.001), LPA (p = 0.001), and LDL-C/HDL-C (p = 0.031) were risk factors for the occurrence and severity of DR. This evidence concerns the gene APOC3 and diabetes mellitus.