There were no significant differences in the gender, BMI, diabetes mellitus, hyperlipidemia, history of heart failure, cognitive dysfunction, type of fracture, preoperative oxygen saturation, white blood cell count, platelet count, red blood cell count, creatinine, alanine aminotransferase, aspartate aminotransferase and estimated blood loss during surgery between heart failure and no heart failure group(all p > 0.05). Here, GPT is linked to diabetes mellitus.