This commit is contained in:
suyl
2021-08-13 17:07:42 +08:00
parent f4e77ec21e
commit 66fdea2164

View File

@@ -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