This commit is contained in:
邹宗楠
2023-01-04 22:47:54 +08:00
parent 76abfbf5a9
commit b648e2c085

View File

@@ -307,6 +307,7 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
updateParam.SpecPrices = param.SpecPrices
//updateParam.StoreId = utils.Str2Int64(vendorStoreID)
err := api.EditStoreCommodity(updateParam)
globals.SugarLogger.Debugf("=====EditStoreCommodity====== %s", err.Error())
if err != nil {
failedList = putils.GetErrMsg2FailedSingleList(storeSkuList, err, storeID, model.VendorChineseNames[model.VendorIDDD], syncType)
storeSku.VendorSkuID = utils.Int2Str(storeSku.SkuID)
@@ -316,8 +317,7 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
// localThing[0].ThingType = model.ThingTypeSku
// dao.UpdateThingMap(localThing[0])
//}
globals.SugarLogger.Debugf("=====EditStoreCommodity====== %s", err.Error())
globals.SugarLogger.Debugf("=====EditStoreCommodity====== %s", updateParam)
globals.SugarLogger.Debugf("=====EditStoreCommodity====== %s", utils.Format4Output(updateParam, false))
continue
}
}