An N-benzenesulfonylbenzamide compound represented by the formula (I), or a crystal form, a prodrug, pharmaceutically acceptable salts, a stereoisomer, a solvate or a hydrate thereof, a pharmaceutical composition containing same, and a use thereof as a Bcl-2 protein inhibitor for preparing a medicament for treatment of leukemia or a cancer.