正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
@@ -250,6 +250,7 @@ func (s SyncOrderService) copyOrderBestshopToOrderBase(orderBestshop *domain.Ord | @@ -250,6 +250,7 @@ func (s SyncOrderService) copyOrderBestshopToOrderBase(orderBestshop *domain.Ord | ||
250 | orderbase.Goods = ordergoods | 250 | orderbase.Goods = ordergoods |
251 | orderbase.PartnerId = partnerData.Partner.Id | 251 | orderbase.PartnerId = partnerData.Partner.Id |
252 | orderbase.CompanyId = partnerData.CompanyId | 252 | orderbase.CompanyId = partnerData.CompanyId |
253 | + orderbase.PartnerCategory = domain.PartnerCategory{Id: 1, Name: "事业合伙人"} // 默认设定为事业合伙人订单 | ||
253 | orderbase.Compute() | 254 | orderbase.Compute() |
254 | err = orderBaseRepository.Save(&orderbase) | 255 | err = orderBaseRepository.Save(&orderbase) |
255 | if err != nil { | 256 | if err != nil { |
-
请 注册 或 登录 后发表评论