Although the prognostic survival of diabetic pancreatic cancer patients with high infiltration of CD8+ T cells was not significantly improved in our study, it suggests that the two diseases, diabetes and pancreatic cancer, show a complex pattern of relationship in the tumour tissue of patients with diabetes combined with pancreatic cancer. The gene discussed is CD8A; the disease is familial pancreatic carcinoma.