The present invention relates to benzofuran derivatives, preparation method thereof and medicinal application thereof. Specifically, the present invention relates to benzofuran derivatives represented by general formula (I), preparation method thereof, pharmaceutical compositions containing the derivatives, and use thereof as the inhibitor for EZH2, and use for treating and/or preventing diseases such as tumor and cancer. Specifically, the use for treating and/or preventing non-hodgkin’s lymphoma, diffuse large B cell lymphoma, follicular lymphoma and synovial sarcoma. The definition of each substituent group in general formula (I) is the same as the definition in the description.本發明涉及苯並呋喃類衍生物、其製備方法及其在醫藥上的應用。特別地,本發明涉及通式(I)所示的苯並呋喃類衍生物、其製備方法、含有該衍生物的醫藥組成物,以及其作為EZH2抑制劑以及其預防和/或治療腫瘤和癌症等疾病的用途,特別是預防和/或治療非霍奇金淋巴瘤、瀰漫性大型B細胞淋巴瘤、濾泡性淋巴瘤、滑膜肉瘤的用途,其中通式(I)中的各取代基與說明書中的定義相同。