diff --git a/business/jxstore/tempop/tempop.go b/business/jxstore/tempop/tempop.go index da1c0031d..19edda139 100644 --- a/business/jxstore/tempop/tempop.go +++ b/business/jxstore/tempop/tempop.go @@ -1793,7 +1793,6 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) { } for _, jdStoreID := range jdStoreIDs { outStoreSkuList2, _ := handler.GetStoreSkusBareInfo(ctx, vendorOrgCode, nil, 0, jdStoreID, skuInfos) - fmt.Println("outStoreSkuList2", utils.Format4Output(outStoreSkuList2, false)) for _, v := range outStoreSkuList2 { if skuMap[v.VendorSkuID] == nil { continue @@ -1817,7 +1816,7 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) { } } if len(priceList) > 0 { - fmt.Println(utils.Format4Output(priceList, false)) + fmt.Println("priceList", utils.Format4Output(priceList, false)) // for k, v := range priceList { // handler.UpdateStoreSkusPrice(ctx, vendorOrgCode, 0, k, v) // } diff --git a/business/partner/purchase/jd/store_sku2.go b/business/partner/purchase/jd/store_sku2.go index 0cd83d594..00c9ac4c9 100644 --- a/business/partner/purchase/jd/store_sku2.go +++ b/business/partner/purchase/jd/store_sku2.go @@ -55,9 +55,9 @@ func (p *PurchaseHandler) getStoreSkusBareInfoLimitSize(ctx *jxcontext.Context, sku := storeSkuMap[utils.Int64ToStr(v.SkuID)] sku.Status = jdStoreSkuStatus2Jx(v.Vendibility) sku.Stock = v.UsableQty - if sku.Stock > 0 { - outStoreSkuList = append(outStoreSkuList, sku) - } + // if sku.Stock > 0 { + outStoreSkuList = append(outStoreSkuList, sku) + // } } for _, v := range priceInfo { sku := storeSkuMap[utils.Int64ToStr(v.SkuID)]