UPDATE b SET b.WMSLogisticId = a. LogID ,b.WMSLogisticWayId=a.ShippingCode FROM #LogisticsShippingMethod a,ShipVia b WHERE a.ShippingCode = b.ForwarderByID
UPDATE b SET b.WMSLogisticId = a. LogID ,b.WMSLogisticWayId=a.ShippingCode FROM #LogisticsShippingMethod a,ShipVia b WHERE a.ShippingCode = b.ForwarderByID