The present invention relates to a selective Bruton's tyrosine kinase (BTK) inhibitor compound, a pharmaceutical composition, preparation and use thereof in preparation of a drug for treating diseases, disorders or conditions benez,fiting from the inhibition of Bruton's tyrosine kinase activity. The compound of the present invention has anti-proliferation and inhibitory effects on tumor cell strains such as A549, MINO, OCI-LY10 and TMD-8, and shows an excellent anti-tumor activity in tumor models such as Mino subcutaneous xenografts, and can be applied in drugs for treating solid tumors or leukemia associated with cell proliferation in humans or animals. The compound of the present invention has good pharmacokinetic properties, and can be applied to the oral treatment of solid tumors or leukemia associated with the cell proliferation in humans or animals or autoimmune diseases. The compound of the present invention has the property of a low hERG channel blockade.