Hydraulic cylinder dual oil port automatic welding machine