1
This commit is contained in:
@@ -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(¶m); 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
|
||||
|
||||
Reference in New Issue
Block a user