Survival analysis indicated that a high perioperative stress score (PSS) (P = 0.015), lymph node metastasis (P = 0.015), significant intraoperative blood loss (P = 0.013), low preoperative CD8+ T cell levels (P = 0.001), and reduced postoperative IL-17 expression (P = 0.013) were independent adverse prognostic factors for overall survival (OS). The gene discussed is CD8A; the disease is metastatic malignant neoplasm in the lymph nodes.