1
This commit is contained in:
@@ -301,6 +301,7 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
|
||||
updateParam.MainProductId = mainOrderDetail.MainProductId
|
||||
updateParam.SpecPrices = param.SpecPrices
|
||||
//updateParam.StoreId = utils.Str2Int64(vendorStoreID)
|
||||
globals.SugarLogger.Debugf("========updateParam=============1 %s", utils.Format4Output(updateParam, false))
|
||||
if err := api.EditStoreCommodity(updateParam); err != nil {
|
||||
failedList = putils.GetErrMsg2FailedSingleList(storeSkuList, err, storeID, model.VendorChineseNames[model.VendorIDDD], syncType)
|
||||
storeSku.VendorSkuID = utils.Int2Str(storeSku.SkuID)
|
||||
@@ -409,6 +410,7 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
|
||||
param.MainProductId = mainIdInt
|
||||
param.SpecPrices = GetSpecPrices(param.Specs, vendorStoreID, param.MainProductId, storeSku)
|
||||
//param.StoreId = utils.Str2Int64(vendorStoreID)
|
||||
globals.SugarLogger.Debugf("========param=============1 %s", utils.Format4Output(param, false))
|
||||
if err := api.EditStoreCommodity(param); err != nil {
|
||||
failedList = putils.GetErrMsg2FailedSingleList(storeSkuList, err, storeID, model.VendorChineseNames[model.VendorIDDD], syncType)
|
||||
storeSku.VendorSkuID = utils.Int2Str(storeSku.SkuID)
|
||||
|
||||
Reference in New Issue
Block a user