Automatic welding of new energy battery boxes