From 66fdea21641a3270fd6e98175d7c7aa29c98582b Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Fri, 13 Aug 2021 17:07:42 +0800 Subject: [PATCH] aa --- business/model/dao/store_sku.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/model/dao/store_sku.go b/business/model/dao/store_sku.go index 3290c427c..fcae5fbc9 100644 --- a/business/model/dao/store_sku.go +++ b/business/model/dao/store_sku.go @@ -1469,7 +1469,7 @@ func UpdateActPrice4StoreSkuNameNew(db *DaoDB, storeIDs, skuIDs []int, skuNamesI } } - if actVendorID == model.VendorIDMTWM && v.ActPrice == 0 { + if (actVendorID == -1 || actVendorID == model.VendorIDMTWM) && v.ActPrice == 0 { mtact := mtactMap[skuName.StoreID][v.SkuID] v.ActPrice = int(jxutils.StandardPrice2Int(mtact.ActPrice)) v.ActType = mtact.ActType