中位价低于5块的不刷
This commit is contained in:
@@ -2555,6 +2555,7 @@ func RefershStoreSkusMidPrice(ctx *jxcontext.Context, storeIDs []int, isCountry
|
||||
}
|
||||
if len(priceReferList) > 0 {
|
||||
//TODO 高于中位价20%才刷, 2020-05-08
|
||||
if priceReferList[0].MidUnitPrice >= 500 {
|
||||
if storeSku.UnitPrice > priceReferList[0].MidUnitPrice/payPercentage*120 {
|
||||
skuBindInfo := &StoreSkuBindInfo{
|
||||
NameID: priceReferList[0].NameID,
|
||||
@@ -2564,6 +2565,7 @@ func RefershStoreSkusMidPrice(ctx *jxcontext.Context, storeIDs []int, isCountry
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
updateStoresSkusWithoutSync(ctx, db, []int{v}, skuBindInfos, false)
|
||||
}
|
||||
if err == nil {
|
||||
|
||||
Reference in New Issue
Block a user