The shared mRNAs between T2DM and BC were enriched in cytochrome (CYP) pathways, and further analysis of CPEB1 and COLEC12 expression in cell lines, single cells and other cancers showed that they were strongly correlated with the survival and prognosis of patients with BC. The gene discussed is COLEC12; the disease is type 2 diabetes mellitus.