test
This commit is contained in:
@@ -432,9 +432,6 @@ func syncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, causeFlag
|
||||
if err != nil || len(skus) == 0 {
|
||||
return err
|
||||
}
|
||||
if vendorID == model.VendorIDJDShop && storeID == model.JdShopMainStoreID2 {
|
||||
globals.SugarLogger.Debugf("syncStoreSkuNew", utils.Format4Output(skus, false))
|
||||
}
|
||||
if len(excludeSkuIDs) > 0 {
|
||||
excludeSkuMap := jxutils.IntList2Map(excludeSkuIDs)
|
||||
var skus2 []*dao.StoreSkuSyncInfo
|
||||
@@ -468,7 +465,7 @@ func syncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, causeFlag
|
||||
now := jxutils.OperationTime2HourMinuteFormat(time.Now())
|
||||
var failedList []*partner.StoreSkuInfoWithErr
|
||||
for _, sku := range skus {
|
||||
if vendorID == model.VendorIDJDShop && storeID != model.JdShopMainStoreID {
|
||||
if vendorID == model.VendorIDJDShop && storeID != model.JdShopMainStoreID && storeID != model.JdShopMainStoreID2 {
|
||||
return
|
||||
}
|
||||
if !useVendorPriceDirectly &&
|
||||
|
||||
Reference in New Issue
Block a user