Disclosed are a fumarate, an A-type crystal and B-type crystal of a pyridylamine compound having the structural formula (III), a preparation method therefor, medicine compositions and crystal compositions containing the compound and the crystals thereof, and uses thereof in preparation of medicines for preventing or treating tumors.