作者 唐旭辉

更新

... ... @@ -232,7 +232,7 @@ func (s SyncOrderService) copyOrderBestshopToOrderBase(orderBestshop *domain.Ord
ordergoods = append(ordergoods, good)
}
orderbase.Goods = ordergoods
orderbase.PartnerId = orderBestshop.PartnerId
orderbase.PartnerId = partnerData.Partner.Id
orderbase.CompanyId = partnerData.CompanyId
orderbase.Compute()
err = orderBaseRepository.Save(&orderbase)
... ...