The levels of GRP78, CHOP, Ero1α, Ero1β, and PDI were significantly lower than those in the NDM-IR and DM-IR groups, indicating that DEX can significantly inhibit the CHOP pathway and alleviate ERS levels in rat myocardial tissue. This evidence concerns the gene DDIT3 and diabetes mellitus.