Disclosed is a novel 5-aminopyrazole carboxamide compound as shown in formula (I), and a stereoisomer, or a pharmaceutically acceptable salt, or a solvate, or a prodrug thereof. In addition, also disclosed are a preparation method for the compound, a pharmaceutical composition and use thereof.