This commit is contained in:
苏尹岚
2021-03-12 16:53:22 +08:00
parent f47e36d04e
commit cd87619ac6
3 changed files with 44 additions and 20 deletions

View File

@@ -927,6 +927,9 @@ func amendAndPruneStoreStuff(ctx *jxcontext.Context, parentTask tasksch.ITask, v
step := batchItemList[0].(int)
switch step {
case 0:
if vendorID == model.VendorIDJDShop {
storeID = model.JdShopMainStoreID2
}
localSkuList, err := dao.GetStoreSkus2(db, vendorID, storeID, nil, false)
if err != nil {
return nil, err