中位价
This commit is contained in:
@@ -3333,7 +3333,7 @@ func FocusStoreSkusBySku(ctx *jxcontext.Context, skuBindInfos []*StoreSkuBindInf
|
|||||||
} else {
|
} else {
|
||||||
payPercentage = store.PayPercentage
|
payPercentage = store.PayPercentage
|
||||||
}
|
}
|
||||||
priceReferList, _ := dao.GetPriceReferSnapshotNoPage(db, []int{store.CityCode}, nil, []int{skuList[0].NameID}, utils.Time2Date(time.Now().AddDate(0, 0, -1)))
|
priceReferList, _ := dao.GetPriceReferSnapshotNoPage(db, []int{0}, nil, []int{skuList[0].NameID}, utils.Time2Date(time.Now().AddDate(0, 0, -1)))
|
||||||
if len(priceReferList) > 0 {
|
if len(priceReferList) > 0 {
|
||||||
price = priceReferList[0].MidUnitPrice / payPercentage * 100
|
price = priceReferList[0].MidUnitPrice / payPercentage * 100
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user