The invention provides a stator assembly and a motor, the stator assembly comprises a stator core with a plurality of stator slots, each stator slot is internally provided with two layers of windings, a gap is arranged between the two layers of windings, the stator assembly further comprises a heat dissipation part used for heat dissipation of the windings, the heat dissipation part comprises a heat conduction pipe and a heat dissipation element, and the heat conduction pipe is arranged in the heat dissipation element. One end of the heat conduction pipe is connected with the heat dissipation element, the other end of the heat conduction pipe is inserted into the gap and conducts heat with the winding through contact, the gap is filled with heat conduction silicone grease with electrical insulation, and the heat conduction silicone grease is used for transferring heat generated by the winding to the heat conduction pipe. According to the stator assembly and the motor in the technical scheme, the stable temperature rise of the motor applying the technical scheme is greatly reduced during operation, and the power density and the reliability are greatly improved, so that the problem of insufficient effective load of an unmanned aerial vehicle caused by overhigh operation temperature rise and low motor power density of the motor in the prior art is solved; therefore, the effective load, the endurance time and the reliability of the unmanned aerial vehicle are improved.