This commit is contained in:
苏尹岚
2021-03-15 11:17:31 +08:00
parent 09f5bf4edc
commit 0d402ec65f
7 changed files with 33 additions and 0 deletions

View File

@@ -532,6 +532,9 @@ func (v *VendorSync) SyncStoresSkus(ctx *jxcontext.Context, parentTask tasksch.I
storeIDs2 = append(storeIDs2, v)
}
}
if len(storeIDs2) == 0 {
storeIDs2 = append(storeIDs2, -1)
}
} else {
for k, _ := range storeIDsMap {
storeIDs2 = append(storeIDs2, k)