bug
This commit is contained in:
@@ -3623,6 +3623,9 @@ func RefreshJxPriceByVendor(ctx *jxcontext.Context, jdStoreSkus []*JdStoreSkus,
|
||||
pricePercentagePack []*model.PricePercentageItem
|
||||
)
|
||||
skus, _ := dao.GetSkus(db, []int{v.JdSkuID}, nil, nil, nil)
|
||||
if len(skus) == 0 {
|
||||
continue
|
||||
}
|
||||
store, _ := dao.GetStoreDetail(db, v.JdStoreID, vendorID)
|
||||
err = jxutils.Strings2Objs(store.PricePercentagePackStr, &pricePercentagePack)
|
||||
jxPrice := jxutils.CaculateJxPriceByPricePack(pricePercentagePack, 0, v.Price)
|
||||
|
||||
Reference in New Issue
Block a user