A fused ring pyrimidine compound of formula I, a tautomer, an enantiomer, a diastereoisomer or a pharmaceutically acceptable salt thereof; wherein, P is selected from a hydrogen or a deuterium; X is selected from CH or S; Y is selected from N or CR 5; U is selected from a chemical bond or CH; V is selected from N or CH; W is selected from N or CR 6; each of R 1, R 2, R 3 and R 6 is independently selected from the group consisting of a hydrogen, a deuterium, a halogen, a substituted or unsubstituted alkyl, a cycloalkyl or a heterocycloalkyl; each of R 7, R 8, R 9, R 10 and R 15 is independently selected from the group consisting of a hydrogen, a deuterium, a halogen, a hydroxyl, an amino, a substituted or unsubstituted alkyl, an alkoxy, or a heterocycloalkyl; R 11 is a hydrogen, a deuterium or an alkyl; or R 6, R 2 and the two atoms on the ring to which they are attached form a "substituted or unsubstituted 5- to 7-membered carbon heterocycle"; or, R 6, R 3 and the two atoms on the ring to which they are attached form a "substituted or unsubstituted 5- to 7-membered carbon heterocycle";the heteroatom in "substituted or unsubstituted 5- to 7-membered carbon heterocycle" is selected from the group consisting of nitrogen, oxygen and sulfur; R 4 is a hydrogen, a deuterium, a substituted or unsubstituted alkyl, an alkoxy, a cycloalkyl, or a substituted or unsubstituted heterocycloalkyl; R 5 is a hydrogen, a deuterium, a halogen, or an alkyl; in the definitions of R 1, R 2, R 3 and R 6, the "substituted"in "a substituted or unsubstituted alkyl" means to be substituted with the substituents selected from the group consisting of a halogen, a hydroxyl, an amino, an alkyl, an alkoxy, and a heterocycloalkyl, in the case when multiple substituents are present, the substituents are the same or different; R 12 is a hydrogen, a deuterium, or an alkyl; in the definitions of R 7, R 8, R 9, R 10 and R 15, the "substituted" in "a substituted or unsubstituted alkyl" means to be substituted with the substituents selected from the group consisting of a deuterium, a halogen, a hydroxyl, an amino, an alkyl, an alkoxy, and a heterocycloalkyl, in the case when mulitiple substituents are present, the substituents are the same or different; R 13 is a hydrogen or an alkyl; in the definition of R 4, the "substituted" in "a substituted or unsubstituted alkyl" and "a substituted or unsubstituted heterocycloalkyl" means to be substituted with the substituents selected from the group consisting of a hydroxyl, an alkyl, and heterocycloalkyl, in the case when multiple substituents are present, the substituents are the same or different; R 14 is a hydrogen, an alkyl, a hydroxymethyl or an alkoxy; the "substituted" in "substituted or unsubstituted 5- to 7-membered carbon heterocycle" means to be substituted with one or more than one alkyl. wherein, P is selected from a hydrogen or a deuterium; X is selected from CH or S; Y is selected from N or CR 5; U is selected from a chemical bond or CH; V is selected from N or CH; W is selected from N or CR 6; each of R 1, R 2, R 3 and R 6 is independently selected from the group consisting of a hydrogen, a deuterium, a halogen, a substituted or unsubstituted alkyl, a cycloalkyl or a heterocycloalkyl; each of R 7, R 8, R 9, R 10 and R 15 is independently selected from the group consisting of a hydrogen, a deuterium, a halogen, a hydroxyl, an amino, a substituted or unsubstituted alkyl, an alkoxy, or a heterocycloalkyl; R 11 is a hydrogen, a deuterium or an alkyl; or R 6, R 2 and the two atoms on the ring to which they are attached form a "substituted or unsubstituted 5- to 7-membered carbon heterocycle"; or, R 6, R 3 and the two atoms on the ring to which they are attached form a "substituted or unsubstituted 5- to 7-membered carbon heterocycle";the heteroatom in "substituted or unsubstituted 5- to 7-membered carbon heterocycle" is selected from the group consisting of nitrogen, oxygen and sulfur; R 4 is a hydrogen, a deuterium, a substituted or unsubstituted alkyl, an alkoxy, a cycloalkyl, or a substituted or unsubstituted heterocycloalkyl; R 5 is a hydrogen, a deuterium, a halogen, or an alkyl; in the definitions of R 1, R 2, R 3 and R 6, the "substituted"in "a substituted or unsubstituted alkyl" means to be substituted with the substituents selected from the group consisting of a halogen, a hydroxyl, an amino, an alkyl, an alkoxy, and a heterocycloalkyl, in the case when multiple substituents are present, the substituents are the same or different; R 12 is a hydrogen, a deuterium, or an alkyl; in the definitions of R 7, R 8, R 9, R 10 and R 15, the "substituted" in "a substituted or unsubstituted alkyl" means to be substituted with the substituents selected from the group consisting of a deuterium, a halogen, a hydroxyl, an amino, an alkyl, an alkoxy, and a heterocycloalkyl, in the case when mulitiple substituents are present, the substituents are the same or different; R 13 is a hydrogen or an alkyl; in the definition of R 4, the "substituted" in "a substituted or unsubstituted alkyl" and "a substituted or unsubstituted heterocycloalkyl" means to be substituted with the substituents selected from the group consisting of a hydroxyl, an alkyl, and heterocycloalkyl, in the case when multiple substituents are present, the substituents are the same or different; R 14 is a hydrogen, an alkyl, a hydroxymethyl or an alkoxy; the "substituted" in "substituted or unsubstituted 5- to 7-membered carbon heterocycle" means to be substituted with one or more than one alkyl.