A compound represented by general formula: wherein, R a1 or R a2 is each independently selected from H, F, Cl, Br, I, cyano, formyl, acetyl, a C 1-4 alkyl, a C 1-4 alkoxy, -C(=O)C 1-4 alkyl or a 5-membered heterocycle, wherein the heterocycle contains 1 to 4 heteroatoms selected from N, O or S, and the alkyl, alkoxy or heterocycle is optionally further substituted with 0 to 5 substituents selected from H, F, Cl, Br or I; R a3 is selected from formyl, acetyl, -C(=O)C 1-4 alkyl or a 5-membered heterocycle, wherein the heterocycle contains 1 to 4 heteroatoms selected from N, O or S, and the alkyl, alkoxy or heterocycle is optionally further substituted with 0 to 5 substituents selected from H, F, Cl, Br or I; X is selected from N or CH; wherein if X is selected from CH; B is selected from the following structure, which is substituted or unsubstituted: and if substituted, it is optionally substituted with 1 to 5 R b s, the R b s are each independently selected from H, F, Cl, Br, I, hydroxyl, amino, carboxy, -NHC(=O)R b2, -C(=O)NR b1 R b2 or - C(=O)R b1; if X is selected from N; B is selected from one of the following structures, which is substituted or unsubstituted: and if substituted, it is optionally substituted with 1 to 5 R b s; the R b1 s are each independently selected from H, hydroxyl, amino, or a C 1-4 alkyl, wherein the alkyl is optionally further substituted with 0 to 4 substituents selected from H, F, Cl, Br, I or hydroxyl; the R b2 s are each independently selected from H, hydroxy, amino, a C 1-4 alkyl or a C 1-4 alkoxy, wherein the alkyl or alkoxy is optionally further substituted with 0 to 4 substituents selected from H, F, Cl, Br, I or hydroxyl; R 2 is selected from H, F, Cl, Br, I or a C 1-4 alkyl; R 3 is selected from H, a C 1-4 alkyl or -(CH 2) n -(5- or 6-membered carbocycle), wherein the carbocycle is optionally further substituted with 0 to 5 substituents selected from H, F, Cl, Br, I, hydroxy, amino, carboxy, a C 1-4 alkyl or a C 1-4 alkoxy; with the proviso that when R 3 is -(CH 2) n -(C 5-6 carbocycle), B is selected from indolyl non-substituted or substituted optionally with 1 to 5 R b s; n is selected from 0, 1, 2, 3, or 4, or a stereoisomer, an oxynitride, a hydrate, a solvate, a pharmaceutically acceptable salt, or co-crystal thereof. R a1 or R a2 is each independently selected from H, F, Cl, Br, I, cyano, formyl, acetyl, a C 1-4 alkyl, a C 1-4 alkoxy, -C(=O)C 1-4 alkyl or a 5-membered heterocycle, wherein the heterocycle contains 1 to 4 heteroatoms selected from N, O or S, and the alkyl, alkoxy or heterocycle is optionally further substituted with 0 to 5 substituents selected from H, F, Cl, Br or I; R a3 is selected from formyl, acetyl, -C(=O)C 1-4 alkyl or a 5-membered heterocycle, wherein the heterocycle contains 1 to 4 heteroatoms selected from N, O or S, and the alkyl, alkoxy or heterocycle is optionally further substituted with 0 to 5 substituents selected from H, F, Cl, Br or I; X is selected from N or CH; wherein if X is selected from CH; B is selected from the following structure, which is substituted or unsubstituted: and if substituted, it is optionally substituted with 1 to 5 R b s, the R b s are each independently selected from H, F, Cl, Br, I, hydroxyl, amino, carboxy, -NHC(=O)R b2, -C(=O)NR b1 R b2 or - C(=O)R b1; if X is selected from N; B is selected from one of the following structures, which is substituted or unsubstituted: and if substituted, it is optionally substituted with 1 to 5 R b s; the R b1 s are each independently selected from H, hydroxyl, amino, or a C 1-4 alkyl, wherein the alkyl is optionally further substituted with 0 to 4 substituents selected from H, F, Cl, Br, I or hydroxyl; the R b2 s are each independently selected from H, hydroxy, amino, a C 1-4 alkyl or a C 1-4 alkoxy, wherein the alkyl or alkoxy is optionally further substituted with 0 to 4 substituents selected from H, F, Cl, Br, I or hydroxyl; R 2 is selected from H, F, Cl, Br, I or a C 1-4 alkyl; R 3 is selected from H, a C 1-4 alkyl or -(CH 2) n -(5- or 6-membered carbocycle), wherein the carbocycle is optionally further substituted with 0 to 5 substituents selected from H, F, Cl, Br, I, hydroxy, amino, carboxy, a C 1-4 alkyl or a C 1-4 alkoxy; with the proviso that when R 3 is -(CH 2) n -(C 5-6 carbocycle), B is selected from indolyl non-substituted or substituted optionally with 1 to 5 R b s; n is selected from 0, 1, 2, 3, or 4,