It was confirmed that in human HCC and ICC, the abundance of tumor-infiltrating CD8+T cells and CD103+CD8+T cells could be a prognostic predictor for patients’ OS. The gene discussed is ITGAE; the disease is intrahepatic cholangiocarcinoma.