- SetIsContinueWhenError true when delete all remote skus and categories.

This commit is contained in:
gazebo
2018-12-04 22:41:24 +08:00
parent c040a4ddbc
commit 3252665a59
3 changed files with 6 additions and 6 deletions

View File

@@ -753,7 +753,7 @@ func RefreshJdStoreSkuStock(promotionID int, skuIDs []int) (err error) {
for _, v := range batchItemList {
promotionItem := v.(*tPromotionItemInfo)
if promotionItem.JdStoreID != stationNo {
globals.SugarLogger.Debugf("RefreshJdStoreSkuStock BatchUpdateCurrentQtys stationNo:%s, stockList:%s", stationNo, utils.Format4Output(stockList, false))
// globals.SugarLogger.Debugf("RefreshJdStoreSkuStock BatchUpdateCurrentQtys stationNo:%s, stockList:%s", stationNo, utils.Format4Output(stockList, false))
_, err = api.JdAPI.BatchUpdateCurrentQtys("", stationNo, stockList, userName)
if err != nil {
globals.SugarLogger.Warnf("RefreshJdStoreSkuStock BatchUpdateCurrentQtys failed with error:%v", err)