Disclosed in the present invention are a macrocyclic compound serving as a Wee1 inhibitor, and applications thereof in the preparation of drugs for treating Wee1-related diseases. The present invention specifically relates to a compound represented by formula (II), an isomer thereof, and a pharmaceutically acceptable salt thereof.