The results showed that age, BMI, CD3 (+) CD8 (+) T cell, CD19 (+) B cell, CD3 (+) CD16 (+) CD56 (+) NK T cell, ALB, Lym, PNI, CD19 (+)-B cell–PNI, radical resection, Borrmann type, lymph node positive (LNP), tumor size, and TNM stage (all p < 0.05) were significantly associated with both PFS and OS. This evidence concerns the gene CD8A and neoplasm.