This commit is contained in:
邹宗楠
2024-08-23 16:17:59 +08:00
parent b1f3e88464
commit fd243ca659
2 changed files with 0 additions and 12 deletions

View File

@@ -688,15 +688,6 @@ func (p *PurchaseHandler) UpdateStoreSkusStock(ctx *jxcontext.Context, vendorOrg
OrderNo: utils.String2Pointer(fmt.Sprintf("%s_%d_%d", vendorStoreID, time.Now().UnixNano(), 84671)),
OrderType: utils.String2Pointer("10006800"), // 这个不太确定
})
//if (index+model.YES)%tao_vegetable.MAXHandleCount == model.NO || (index+1) == len(storeSkuList) {
// batchStockPublishDto.StockPublishDtos = &stockPublishDtos
// param.BatchStockPublishDto = batchStockPublishDto
// if err = api.StoreSkuStock(&param); err != nil {
// failedList = append(failedList, putils.GetErrMsg2FailedSingleList(v, err, storeID, model.VendorChineseNames[model.VendorIDTaoVegetable], "更新库存错误")...)
// }
// stockPublishDtos = make([]domain589.AlibabaWdkStockPublishStockPublishDto, 0, 0)
// param.BatchStockPublishDto = nil
//}
}
batchStockPublishDto.StockPublishDtos = &stockPublishDtos
param.BatchStockPublishDto = batchStockPublishDto