- AdjustOrder与PartRefundOrder中,为了区别活动与非活动SKU,需转入SubStoreID(即单品的活动ID)区分
This commit is contained in:
@@ -333,7 +333,7 @@ func (c *OrderManager) updateOrderSkuOtherInfo(order *model.GoodsOrder, db *dao.
|
||||
// } else
|
||||
if actStoreSkuMap != nil {
|
||||
if skuID := jxutils.GetSkuIDFromOrderSku(v); skuID > 0 /*&& v.StoreSubName != ""*/ {
|
||||
if actStoreSku := actStoreSkuMap.GetActStoreSku(jxStoreID, skuID, order.VendorID); actStoreSku != nil {
|
||||
if actStoreSku := actStoreSkuMap.GetActStoreSku(jxStoreID, skuID, order.VendorID); actStoreSku != nil && v.StoreSubName != "" {
|
||||
v.EarningPrice = actStoreSku.EarningPrice
|
||||
v.StoreSubID = actStoreSku.ActID
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user