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