diff --git a/business/jxstore/cms/store_sku.go b/business/jxstore/cms/store_sku.go index 907485274..478a1507f 100644 --- a/business/jxstore/cms/store_sku.go +++ b/business/jxstore/cms/store_sku.go @@ -2549,13 +2549,13 @@ func GetVendorStoreSkuPrice(ctx *jxcontext.Context, vendorIDs []int, skuID int, storeDetail, err = singleHandler.ReadStore(ctx, v, vendorStoreID) inStoreSku.SkuID = skuID } + inStoreSkuList = append(inStoreSkuList, inStoreSku) storeDetail2, err := dao.GetStoreDetail2(db, 0, vendorStoreID, vendorID) if storeDetail2 != nil { outStoreSkuList, err = handler.GetStoreSkusBareInfo(ctx, v, task, storeDetail2.ID, vendorStoreID, inStoreSkuList) } else { outStoreSkuList, err = handler.GetStoreSkusBareInfo(ctx, v, task, 0, vendorStoreID, inStoreSkuList) } - inStoreSkuList = append(inStoreSkuList, inStoreSku) if storeDetail != nil { if len(outStoreSkuList) == 0 { data := DataVendorStoreSkuPrice{