Combining PD-L1+ M1 or M2, PD-L1− M1 or M2 tumor-associated macrophages, and T regulator cells to subgroup intrahepatic and distal cholangiocarcinoma, the prognosis is significantly better distinguished. The gene discussed is CD274; the disease is neoplasm.