The present invention relates to a crystalline form of (S)-7-(1-acryloylpiperidin-4-yl)-2-(4-phenoxyphenyl)-4,5,6,7-tetra-hydropyrazolo[1,5-a]pyrimidine-3-carboxamide for inhibiting Btk, methods of preparation thereof and pharmaceutical compositions, and use of the crystalline form above in the treatment of a disease, or in the manufacturing of a medicament for the treatment of a disease.本發明涉及用於抑制Btk的(S)-7-(1-丙烯醯基六氫吡啶-4-基)-2-(4-苯氧基苯基)-4,5,6,7-四氫吡唑並[1,5-a]嘧啶-3-甲醯胺的晶型、其製備方法和醫藥組合物,以及上述晶型在治療疾病中的用途或在製備用於治療疾病的藥物中的用途。