This commit is contained in:
邹宗楠
2023-01-04 22:26:03 +08:00
parent 869ae67697
commit 82a843dc03

View File

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