To control effectively welding deformation and intergranular corrosion for type304 stainless steel. This study proposed a comprehensive welding technology, which consists of rational design of welding pro-cess, correct choice of welding parameters, optimizating structural design, adding auxiliary process stru- cture, and carring out on-line monitoring technology,as so on.The technology was applied in weldling a rotating shaft, the final welding quality and deformation error achieved the desired goals.