- OrderSku.StoreSubID当成活动ID来使用

This commit is contained in:
gazebo
2019-07-27 16:24:00 +08:00
parent 8814628c62
commit 991128242a
2 changed files with 3 additions and 2 deletions

View File

@@ -335,6 +335,7 @@ func (c *OrderManager) updateOrderSkuOtherInfo(order *model.GoodsOrder, db *dao.
if skuID := jxutils.GetSkuIDFromOrderSku(v); skuID > 0 /*&& v.StoreSubName != ""*/ {
if actStoreSku := actStoreSkuMap.GetActStoreSku(jxStoreID, skuID, order.VendorID); actStoreSku != nil {
v.EarningPrice = actStoreSku.EarningPrice
v.StoreSubID = actStoreSku.ActID
}
}
}