The present invention related to deuterated quinazolinone compounds and pharmaceutical compositions comprising such compounds. In particular, disclosed are the deuterated quinazolinone compounds shown as formula (I), and the pharmaceutical compositions comprising such compounds or crystal form, pharmaceutically acceptable salts, hydrates or solvates thereof. The compounds of the present invention can be used for treating and/or preventing PI3K kinase-associated diseases, such as cancer, cell proliferative disease and the like.