level, jdsorder 30minu
This commit is contained in:
@@ -1079,6 +1079,11 @@ func updateStoresSkusWithoutSync(ctx *jxcontext.Context, db *dao.DaoDB, storeIDs
|
||||
if err != nil || storeDetail == nil {
|
||||
continue
|
||||
}
|
||||
if len(storeIDs) > 1 {
|
||||
if storeDetail.StoreLevel == "D" || storeDetail.StoreLevel == "E" {
|
||||
continue
|
||||
}
|
||||
}
|
||||
scaleFactor := float64(1)
|
||||
if isScale {
|
||||
scaleFactor = 100 / float64(jxutils.ConstrainPayPercentage(storeDetail.PayPercentage))
|
||||
@@ -3367,6 +3372,11 @@ func FocusStoreSkusBySku(ctx *jxcontext.Context, skuBindInfos []*StoreSkuBindInf
|
||||
storeID := skuBindInfo.StoreID
|
||||
skuID := skuBindInfo.Skus[0].SkuID
|
||||
store, err := dao.GetStoreDetail(db, storeID, -1)
|
||||
if len(skuBindInfos) > 1 {
|
||||
if store.StoreLevel == "D" || store.StoreLevel == "E" {
|
||||
return retVal, err
|
||||
}
|
||||
}
|
||||
if err != nil {
|
||||
return retVal, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user