果园可以批量

This commit is contained in:
苏尹岚
2020-10-29 10:45:50 +08:00
parent ebdead42cb
commit 791a41cb83

View File

@@ -1079,9 +1079,11 @@ func updateStoresSkusWithoutSync(ctx *jxcontext.Context, db *dao.DaoDB, storeIDs
if err != nil || storeDetail == nil { if err != nil || storeDetail == nil {
continue continue
} }
if len(storeIDs) > 1 { if beego.BConfig.RunMode == "prod" {
if storeDetail.StoreLevel == "D" || storeDetail.StoreLevel == "E" { if len(storeIDs) > 1 {
continue if storeDetail.StoreLevel == "D" || storeDetail.StoreLevel == "E" {
continue
}
} }
} }
scaleFactor := float64(1) scaleFactor := float64(1)