From 011ca316e6ec2ed93e31c45a9ebd9d3c66664871 Mon Sep 17 00:00:00 2001
From: wangxinhui <wangxinhui@hnkhzn.com>
Date: 星期五, 17 四月 2026 11:47:03 +0800
Subject: [PATCH] 代码更新
---
项目代码/WMS/WMSServices/WIDESEA_WMSServer/Controllers/ERP/ErpController.cs | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_WMSServer/Controllers/ERP/ErpController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_WMSServer/Controllers/ERP/ErpController.cs"
index 72de6a0..06ef6ec 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_WMSServer/Controllers/ERP/ErpController.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_WMSServer/Controllers/ERP/ErpController.cs"
@@ -16,6 +16,7 @@
using WIDESEA_IBasicRepository;
using WIDESEA_IBasicService;
using WIDESEA_IInboundService;
+using WIDESEA_IOutboundService;
using WIDESEA_Model.Models;
namespace WIDESEA_WMSServer.Controllers.ERP
@@ -30,12 +31,14 @@
private readonly IBasicService _basicService;
private readonly IInvokeERPService _invokeERPService;
private readonly IInboundService _inboundService;
+ private readonly IOutboundService _outboundService;
- public ErpController(IBasicService basicService,IInvokeERPService invokeERPService, IInboundService inboundService)
+ public ErpController(IBasicService basicService,IInvokeERPService invokeERPService, IInboundService inboundService, IOutboundService outboundService)
{
_basicService = basicService;
_invokeERPService = invokeERPService;
_inboundService = inboundService;
+ _outboundService = outboundService;
}
/// <summary>
/// 娣诲姞浜屾湡鐗╂枡
@@ -109,7 +112,7 @@
public WebResponseContent ProDeliveryOrder([FromBody] ERPRoot<ERPProDeliveryDTO> eRPRoot)
{
- return _inboundService.PurchaseOrderService.ReceiveProDeliveryOrder(eRPRoot.Content);
+ return _outboundService.ProDeliveryOrderService.ReceiveProDeliveryOrder(eRPRoot.Content);
}
/// <summary>
@@ -134,13 +137,11 @@
return _inboundService.InboundOrderService.ReceiveInbound(eRPRoot.Content);
}
-
/// <summary>
/// 娣诲姞閿�鍞��璐т俊鎭�
/// </summary>
/// <returns></returns>
[HttpPost, Route("ProDeliveryBack"), AllowAnonymous]
-
public WebResponseContent ProDeliveryBack([FromBody] ERPRoot<ERPProDeliverBackDTO> eRPRoot)
{
return _inboundService.PurchaseOrderService.ReceiveProDeliveryBackOrder(eRPRoot.Content);
@@ -155,6 +156,7 @@
{
return _invokeERPService.ERPPurchaseUp(eRPPurchaseUpModel);
}
+
/// <summary>
/// ERP鎴愬搧閿�鍞嚭搴撲笂浼犱俊鎭�
/// </summary>
@@ -164,6 +166,7 @@
{
return _invokeERPService.ERPProOutUp(eRPProOutUpModel);
}
+
/// <summary>
/// ERP涓婁紶鎴愬搧鍏ュ簱淇℃伅
/// </summary>
--
Gitblit v1.9.3