The invention relates to benzofuran derivatives, a preparation method thereof and an application in medicine.In particular, the present invention relates to the benzofuran derivatives shown in the general formula (I), the preparation method thereof, the pharmaceutical composition containing the derivatives, the use of the benzofuran derivatives as EZH2 inhibitors and the prevention and / or treatment of tumors, cancers and other diseases, especially the use of preventing and / or treating non Hodgkin's lymphoma, diffuse large B-cell lymphoma, follicular lymphoma and synovial sarcoma The substituents in general formula (I) are the same as those in the specification.本發明涉及苯并呋喃類衍生物、其製備方法及其在醫藥上的應用。特別地,本發明涉及通式(I)所示的苯并呋喃類衍生物、其製備方法、含有該衍生物的藥物組合物,以及其作爲EZH2抑制劑以及其預防和/或治療腫瘤和癌症等疾病的用途,特別是預防和/或治療非霍奇金淋巴瘤、彌漫大B細胞淋巴瘤、濾泡性淋巴瘤、滑膜肉瘤的用途,其中通式(I)中的各取代基與說明書中的定義相同。