果园可以批量
This commit is contained in:
@@ -1079,11 +1079,13 @@ func updateStoresSkusWithoutSync(ctx *jxcontext.Context, db *dao.DaoDB, storeIDs
|
|||||||
if err != nil || storeDetail == nil {
|
if err != nil || storeDetail == nil {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
if beego.BConfig.RunMode == "prod" {
|
||||||
if len(storeIDs) > 1 {
|
if len(storeIDs) > 1 {
|
||||||
if storeDetail.StoreLevel == "D" || storeDetail.StoreLevel == "E" {
|
if storeDetail.StoreLevel == "D" || storeDetail.StoreLevel == "E" {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
scaleFactor := float64(1)
|
scaleFactor := float64(1)
|
||||||
if isScale {
|
if isScale {
|
||||||
scaleFactor = 100 / float64(jxutils.ConstrainPayPercentage(storeDetail.PayPercentage))
|
scaleFactor = 100 / float64(jxutils.ConstrainPayPercentage(storeDetail.PayPercentage))
|
||||||
|
|||||||
Reference in New Issue
Block a user