diff --git a/business/jxstore/cms/store_sku.go b/business/jxstore/cms/store_sku.go index bfe3bc715..7d265f3de 100644 --- a/business/jxstore/cms/store_sku.go +++ b/business/jxstore/cms/store_sku.go @@ -2006,6 +2006,9 @@ func updateStoresSkusWithoutSync(ctx *jxcontext.Context, db *dao.DaoDB, storeIDs for _, v := range inSkuBinds { inSkuBinsMap[v.SkuID] = v } + if storeID == 668470 { + globals.SugarLogger.Debugf("------------inSkuBinsMap := %s", utils.Format4Output(inSkuBinsMap, false)) + } unitPrice := 0 if skuBindInfo.UnitPrice != 0 { if skuBindInfo.UnitPrice > MaxSkuUnitPrice { @@ -2046,9 +2049,6 @@ func updateStoresSkusWithoutSync(ctx *jxcontext.Context, db *dao.DaoDB, storeIDs Status: model.StoreSkuBindStatusDontSale, // 缺省不可售? } skuBind.JxPrice = jxutils.CaculatePriceByPricePack(storeDetail.PricePercentagePackObj, int(storeDetail.PricePercentage), skuBind.Price) - if storeID == 668470 { - globals.SugarLogger.Debugf("---------------skuBind := %s", utils.Format4Output(skuBind, false)) - } tmpStatus := getSkuSaleStatus(inSkuBind, skuBindInfo) if storeID == 668470 { globals.SugarLogger.Debugf("---------------tmpStatus := %s", utils.Format4Output(tmpStatus, false))