A compound of general formula (I) or a pharmaceutically acceptable salt thereof: wherein X is hydrogen, methyl, methoxy or halogen; Y is -CH 2 -, -O-, -S-, -CO-, -CH 2 O-, -NR 5 -, -CONR 6 - or -NR 7 CO-, wherein R 5 , R 6 , and R 7 are each independently hydrogen, C 1 -C 4 alkyl, C 1 -C 4 haloalkyl, phenyl or substituted phenyl, wherein the substituent is halogen, C 1 -C 4 alkyl, C 1 -C 4 alkoxy, amino, hydroxyl, mercapto, carboxyl, cyano, trifluoromethyl or imidazolyl; m is 0-6; R 1 is hydrogen, amino, hydroxyl, mercapto, carboxyl, cyano, -CONH 2 , C 1 -C 4 alkyl, C 1 -C 4 alkoxy, phenyl, substituted phenyl, substituted or unsubstituted nitrogen- or oxygen-containing 3 to 7 membered heterocyclic ring, -NR 8 COR 9 , -CONR 10 R 11 or -NR 10 R 11 , wherein R 8 is hydrogen, C 1 -C 4 alkyl, C 1 -C 4 haloalkyl, phenyl or substituted phenyl, R 9 is amino, hydroxyl, C 1 -C 4 alkyl, C 1 -C 4 alkoxy, phenyl or substituted phenyl, substituted or unsubstituted nitrogen- or oxygen-containing 3 to 7 membered heterocyclic ring, R 10 and R 11 are independently hydrogen, C 1 -C 4 alkyl, phenyl or substituted phenyl, substituted or unsubstituted nitrogen- or oxygen-containing 3 to 7 membered heterocyclic ring, or R 10 and R 11 are connected to form nitrogen- or oxygen-containing 3 to 7 membered heterocyclic ring, wherein the substituent is halogen, C 1 -C 4 alkyl, C 1 -C 4 alkoxy, amino, hydroxyl, mercapto, carboxyl, cyano, trifluoromethyl or imidazolyl; R 2 is halogen, C 1 -C 4 alkyl, C 1 -C 4 alkoxy, trifluoromethyl, nitro or cyano for disubstitution or trisubstitution; R 3 is amino, methylamino, aminomethyl, hydroxyl, hydroxymethyl, mercapto or - CONH 2 ; R 4 is N-methylpiperazine, 1,2-dimethylpiperazine or N-methylhomopiperazine. Y is -CH 2 -, -O-, -S-, -CO-, -CH 2 O-, -NR 5 -, -CONR 6 - or -NR 7 CO-, wherein R 5 , R 6 , and R 7 are each independently hydrogen, C 1 -C 4 alkyl, C 1 -C 4 haloalkyl, phenyl or substituted phenyl, wherein the substituent is halogen, C 1 -C 4 alkyl, C 1 -C 4 alkoxy, amino, hydroxyl, mercapto, carboxyl, cyano, trifluoromethyl or imidazolyl; m is 0-6; R 1 is hydrogen, amino, hydroxyl, mercapto, carboxyl, cyano, -CONH 2 , C 1 -C 4 alkyl, C 1 -C 4 alkoxy, phenyl, substituted phenyl, substituted or unsubstituted nitrogen- or oxygen-containing 3 to 7 membered heterocyclic ring, -NR 8 COR 9 , -CONR 10 R 11 or -NR 10 R 11 , wherein R 8 is hydrogen, C 1 -C 4 alkyl, C 1 -C 4 haloalkyl, phenyl or substituted phenyl, R 9 is amino, hydroxyl, C 1 -C 4 alkyl, C 1 -C 4 alkoxy, phenyl or substituted phenyl, substituted or unsubstituted nitrogen- or oxygen-containing 3 to 7 membered heterocyclic ring, R 10 and R 11 are independently hydrogen, C 1 -C 4 alkyl, phenyl or substituted phenyl, substituted or unsubstituted nitrogen- or oxygen-containing 3 to 7 membered heterocyclic ring, or R 10 and R 11 are connected to form nitrogen- or oxygen-containing 3 to 7 membered heterocyclic ring, wherein the substituent is halogen, C 1 -C 4 alkyl, C 1 -C 4 alkoxy, amino, hydroxyl, mercapto, carboxyl, cyano, trifluoromethyl or imidazolyl; R 2 is halogen, C 1 -C 4 alkyl, C 1 -C 4 alkoxy, trifluoromethyl, nitro or cyano for disubstitution or trisubstitution; R 3 is amino, methylamino, aminomethyl, hydroxyl, hydroxymethyl, mercapto or - CONH 2 ; R 4 is N-methylpiperazine, 1,2-dimethylpiperazine or N-methylhomopiperazine. <EOS>