Disclosed in the present invention are an acrylanilide compound represented by general formula (I) and a pharmaceutically acceptable salt thereof. The acrylanilide compound and the pharmaceutically acceptable salt thereof are used for treating clinical diseases by mainly acting on EGFR family casein kinases.