diff --git a/business/jxstore/report/report.go b/business/jxstore/report/report.go index cc2201e9c..c514f6b25 100644 --- a/business/jxstore/report/report.go +++ b/business/jxstore/report/report.go @@ -263,12 +263,8 @@ func BeginSavePriceRefer(ctx *jxcontext.Context, cityCodes, skuIDs []int, isAsyn v := batchItemList[0].(*model.PriceReferSnapshot) for _, appOrg := range apimanager.CurAPIManager.GetAppOrgCodeList(model.VendorIDJD) { directPrice, _ := jd.GetAPI(appOrg).GetJdSkuDirectPrice(v.SkuID) - if directPrice == 0 { - continue - } else { - v.JdDirectPrice = int(directPrice) - dao.UpdateEntity(db, v, "JdDirectPrice") - } + v.JdDirectPrice = int(directPrice) + dao.UpdateEntity(db, v, "JdDirectPrice") } return retVal, err }