use of com.whoiszxl.factory.PurchaseInboundOrderResult in project shopzz by whoiszxl.
the class UpdateStockHandler method doExecute.
@Override
protected PurchaseInboundOrderResult doExecute(PurchaseOrderResponse purchaseOrderResponse) {
// 通过库存更新工厂创建一个采购入库库存更新组件来更新
WmsStockUpdater wmsStockUpdater = stockUpdaterFactory.create(WmsStockUpdateEventConstants.PURCHASE_INBOUND, purchaseOrderResponse);
wmsStockUpdater.update();
return new PurchaseInboundOrderResult(true);
}
use of com.whoiszxl.factory.PurchaseInboundOrderResult in project shopzz by whoiszxl.
the class UpdateStockHandler method doExecute.
@Override
protected PurchaseInboundOrderResult doExecute(PurchaseOrderDTO purchaseOrderDTO) {
// 通过库存更新工厂创建一个采购入库库存更新组件来更新
WmsStockUpdater wmsStockUpdater = stockUpdaterFactory.create(WmsStockUpdateEventConstants.PURCHASE_INBOUND, purchaseOrderDTO);
wmsStockUpdater.update();
return new PurchaseInboundOrderResult(true);
}
Aggregations