A compound as shown in formula 0, or a stereoisomer thereof, a tautomer thereof, a geometric isomer thereof, an enantiomer thereof, a diastereomer thereof, a racemate thereof, a polymorph thereof, a solvate thereof, a hydrate thereof, an N-oxide thereof, an isotopically labeled compound thereof, a metabolite thereof, an ester thereof, a prodrug thereof or a pharmaceutically acceptable salt thereof:
- wherein
- ring A is selected from C3-C10 cycloalkylene or 3- to 10-membered heterocycloalkylene, and ring A is not
- wherein the * end is connected to L, the end is connected to ring B, and the n3 is any integer from 0-5;
- ring B is selected from 5- to 10-membered heteroarylene, and n4 is any integer from 0-4;
- ring C is selected from 3- to 10-membered heterocycloalkylene, C3-C10 cycloalkylene, or #B-X21—C3-C12 cycloalkylene-$R1, X21 is —NR3 or —C(O)NR3, #B- represents a connecting bond connected to ring B, and -$R1 represents a connecting bond connected to R1;
- each R3 is independently H, deuterium, halogen, C1-C6 alkyl or C1-C6 haloalkyl;
- when ring C is C3-C10 cycloalkylene, ring A is not cyclohexenylene;
- and when ring A is
- the * end is connected to L, the end is connected to ring B, ring C is 3- to 10-membered heterocycloalkylene, and n5 is any integer from 0-5;
- ring D is selected from C6-C10 arylene, 5- to 10-membered heteroarylene, C3-C10 cycloalkylene or 3- to 10-membered heterocycloalkylene;
- L is #D-L1-L2-L3-$A, 5- to 6-membered heteroaryl or #D-NR14C(O)—C1-C6 alkylene-O-$A, L1 is a bond, —O—, —S— or —NR4—, L2 is a bond, or substituted or unsubstituted C1-C10 alkylene, L3 is —C(X10)NR-$A or —C(X10)-$A, X10 is O or S, R4, R5 and R14 are each independently selected from H, deuterium, C1-C10 alkyl, C2-C10 alkenyl, C2-C10 alkynyl, C3-C10 cycloalkyl, 3- to 10-membered heterocycloalkyl, C6-C10 aryl or 5- to 10-membered heteroaryl;
- as R4, R5 and R14, C1-C10 alkyl, C2-C10 alkenyl, C2-C10 alkynyl, C3-C10 cycloalkyl, 3- to 10-membered heterocycloalkyl, C6-C10 aryl and 5- to 10-membered heteroaryl may each be independently substituted with 1-6 R11;
- #D- represents a connecting bond connected to ring D, and -$A represents a connecting bond connected to ring A;
- R1, R2, R9a, R9b and R9c are each independently substituent R11;
- each R1 is independently selected from deuterium, halogen, cyano, nitro, ═O, —OR6, —SR6, SF5, —NR6R7, C1-C10 alkyl, C2-C10 alkenyl, C2-C10 alkynyl, C3-C10 cycloalkyl, 3- to 10-membered heterocycloalkyl, C6-C10 aryl, 5- to 10-membered heteroaryl, —C(O)R6, —C(O)OR6, —OC(O)OR6, OC(O)R6, —C(O)NR6R7, —C(O)ONR6R7, —NR6C(O)NR7R8, —S(O)1-2R6, —S(O)1-2NR6, NR6S(O)1-2R7, —NR6S(O)1-2NR7R8, —NR6C(O)R7, —P(O)R6R7 or —NR6C(O)OR7, wherein as R9a, R9b, R9c and R11, C1-C10 alkyl, C2-C10 alkenyl, C2-C10 alkynyl, C3-C10 cycloalkyl, 3- to 10-membered heterocycloalkyl, C6-C10 aryl and 5- to 10-membered heteroaryl may each be independently substituted with 1-6 R12;
- R6, R7 and R8 are each independently selected from H, deuterium, C1-C10 alkyl, C2-C10 alkenyl, C2-C10 alkynyl, C3-C10 cycloalkyl, 3- to 10-membered heterocycloalkyl, C6-C10 aryl, 5- to 10-membered heteroaryl, —C(O)R20, —C(O)OR20, —C(O)NR20R21, —S(O)1-2R20 and —S(O)1-2NR20, wherein as R6, R7 and R8, C1-C10 alkyl, C2-C10 alkenyl, C2-C10 alkynyl, C3-C10 cycloalkyl, 3- to 10-membered heterocycloalkyl, C6-C10 aryl and 5- to 10-membered heteroaryl may each be independently substituted with 1-6 R13;
- or
- R6 and R7 together with the atom(s) to which they are attached form heterocycloalkyl, and the heterocycloalkyl may be substituted with 1-6 halogen, or substituted with C1-C10 alkyl optionally substituted with 1-6 carbonyl, halogen, hydroxyl or amino;
- or
- R7 and R8 together with the atom(s) to which they are attached form heterocycloalkyl, and the heterocycloalkyl may be substituted with 1-6 halogen, or substituted with C1-C10 alkyl optionally substituted with 1-6 carbonyl, halogen, hydroxyl or amino;
- R12 and R13 are each independently H, deuterium, halogen, cyano, nitro, ═O, —OR30, —SR30, —SF5, NR30R31, C1-C10 alkyl, C2-C10 alkenyl, C2-C10 alkynyl, C3-C10 cycloalkyl, 3- to 10-membered heterocycloalkyl, C6-C10 aryl, 5- to 10-membered heteroaryl, —C(O)R30, —C(O)OR30, —OC(O)OR30, OC(O)R30, —C(O)NR30R31, —C(O)ONR30R31, —NR30C(O)NR30R31, —S(O)1-2R30, —S(O)1-2NR30, —NR30S(O)1-2R31, —NR30S(O)1-2NR30R31, —NR30C(O)R31 or —NR30C(O)OR31, wherein as R12 and R13, C1-C10 alkyl, C2-C10 alkenyl, C2-C10 alkynyl, C3-C10 cycloalkyl, 3- to 10-membered heterocycloalkyl, C6-C10 aryl and 5- to 10-membered heteroaryl may each be independently substituted with 1-6 halogen, or substituted with C1-C10 alkyl optionally substituted with 1-6 carbonyl, halogen, hydroxyl or amino;
- R20 and R21 are each independently selected from H, deuterium or C1-C10 alkyl optionally substituted with 1-6 halogen, hydroxyl or amino;
- or
- R20 and R21 together with the atom(s) to which they are attached form heterocycloalkyl, and the heterocycloalkyl may be substituted with 1-6 halogen, or substituted with C1-C10 alkyl optionally substituted with 1-6 carbonyl, halogen, hydroxyl or amino;
- R30 and R31 are each independently selected from H, deuterium or C1-C10 alkyl optionally substituted with 1-6 halogen, hydroxyl or amino;
- or
- R30 and R31 together with the atom(s) to which they are attached form heterocycloalkyl, and the heterocycloalkyl may be substituted with 1-6 halogen, or substituted with C1-C10 alkyl optionally substituted with 1-6 carbonyl, halogen, hydroxyl or amino;
- n1 and n2 are each independently any integer from 0-4.