An electric valve, comprising a driving mechanism, an executing mechanism, and a valve body assembly, wherein, the driving mechanism comprises a sleeve and an output shaft, and the output shaft is arranged in the sleeve; the executing mechanism comprises a valve stem connected with the output shaft and a valve core connected with the valve stem, and the valve core is provided with a first flow channel and a second flow channel; and the valve body assembly comprises a valve body, the driving mechanism is hermetically fixed to the valve body assembly, a space isolated from outside is formed after the driving mechanism is sealed to the valve body assembly, the output shaft and a connecting portion between the valve stem and the output shaft are located in the space, the valve body has a cavity, four through holes and a plugging hole, a connecting portion between the valve stem and the valve core is located in the cavity, the valve stem is not connected with the outside, the through holes and the plugging hole are peripherally distributed, the plugging hole is provided between adjacent through holes, the valve body assembly further comprises a valve seat configured to mount the valve core, and the valve seat is provided with communication apertures in communication with the corresponding through holes, wherein an end cover is arranged at each through hole of the valve body, each end cover has a structure with two open ends, each end cover has a large-diameter portion and a small-diameter portion, characterized in that, the large-diameter portion is provided with an external thread and is connected with a thread on an inner wall of the corresponding through hole, and the small-diameter portion is hermetically connected with the valve body by a sealing member, the valve body assembly further comprises a plugging cover, the valve body is provided with an opening communicating with the cavity between at least two adjacent through holes, and the plugging cover is configured to plug the opening, each end cover and the plugging cover have substantially same structures, each end cover and the plugging cover each comprise the large-diameter portion and the small-diameter portion, and each end cover is provided with a penetrating hole. the driving mechanism comprises a sleeve and an output shaft, and the output shaft is arranged in the sleeve; the executing mechanism comprises a valve stem connected with the output shaft and a valve core connected with the valve stem, and the valve core is provided with a first flow channel and a second flow channel; and the valve body assembly comprises a valve body, the driving mechanism is hermetically fixed to the valve body assembly, a space isolated from outside is formed after the driving mechanism is sealed to the valve body assembly, the output shaft and a connecting portion between the valve stem and the output shaft are located in the space, the valve body has a cavity, four through holes and a plugging hole, a connecting portion between the valve stem and the valve core is located in the cavity, the valve stem is not connected with the outside, the through holes and the plugging hole are peripherally distributed, the plugging hole is provided between adjacent through holes, the valve body assembly further comprises a valve seat configured to mount the valve core, and the valve seat is provided with communication apertures in communication with the corresponding through holes, wherein an end cover is arranged at each through hole of the valve body, each end cover has a structure with two open ends, each end cover has a large-diameter portion and a small-diameter portion, characterized in that, the large-diameter portion is provided with an external thread and is connected with a thread on an inner wall of the corresponding through hole, and the small-diameter portion is hermetically connected with the valve body by a sealing member, the valve body assembly further comprises a plugging cover, the valve body is provided with an opening communicating with the cavity between at least two adjacent through holes, and the plugging cover is configured to plug the opening, each end cover and the plugging cover have substantially same structures, each end cover and the plugging cover each comprise the large-diameter portion and the small-diameter portion, and each end cover is provided with a penetrating hole.