取消2020-02-10美团要求下架所有猪肉

This commit is contained in:
gazebo
2020-02-11 13:33:43 +08:00
parent 527222a095
commit 43a9e615fa

View File

@@ -386,9 +386,9 @@ func syncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, causeFlag
} }
sku.MergedStatus = MergeSkuSaleStatusWithStoreOpTime(sku, storeDetail, now) sku.MergedStatus = MergeSkuSaleStatusWithStoreOpTime(sku, storeDetail, now)
// 2020-02-10美团要求下架所有猪肉 // 2020-02-10美团要求下架所有猪肉
if globals.IsMainProductEnv() && vendorID == model.VendorIDMTWM && meatCatMap[sku.NameCategoryID] { // if globals.IsMainProductEnv() && vendorID == model.VendorIDMTWM && meatCatMap[sku.NameCategoryID] {
sku.MergedStatus = model.SkuStatusDontSale // sku.MergedStatus = model.SkuStatusDontSale
} // }
var bareSku *partner.StoreSkuInfo var bareSku *partner.StoreSkuInfo
isNeedReorder := false isNeedReorder := false
if isStoreSkuSyncNeedDelete(sku) { if isStoreSkuSyncNeedDelete(sku) {