From a0a0df2e824b6fe7e5a3c0afce78127fecf84fc9 Mon Sep 17 00:00:00 2001
From: wangxinhui <wangxinhui@hnkhzn.com>
Date: 星期一, 03 十一月 2025 08:23:05 +0800
Subject: [PATCH] ERP接口代码更新,WCS代码优化,出入库分配优化
---
项目代码/WMS/WMSServices/WIDESEA_WMSServer/Controllers/ERP/ErpBSTController.cs | 32 +++++++++++++++++---------------
1 files changed, 17 insertions(+), 15 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_WMSServer/Controllers/ERP/ErpBSTController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_WMSServer/Controllers/ERP/ErpBSTController.cs"
index 3b3049d..52cb90e 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_WMSServer/Controllers/ERP/ErpBSTController.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_WMSServer/Controllers/ERP/ErpBSTController.cs"
@@ -20,7 +20,6 @@
using WIDESEA_ITaskInfoService;
using WIDESEA_Model.Models;
using WIDESEA_OutboundService;
-using static WIDESEA_DTO.ErpResponseContent;
namespace WIDESEA_WMSServer.Controllers.ERP
{
@@ -80,34 +79,26 @@
{
return _purchaseBSTOrderService.AddPurchaseBSTOrder(bSTPurchaseOrderDTOs);
}
-
- ///// <summary>
- ///// 鎺ユ敹鍑哄簱鎺掔▼淇℃伅
- ///// </summary>
- ///// <returns></returns>
- //[HttpPost, HttpGet, Route("ReceiveOutOrder"), AllowAnonymous]
- //public WebResponseContent AddOutBSTOrder([FromBody] List<BSTOutOrderDTO> bSTOutOrderDTOs)
- //{
- // return _outBSTOrderService.AddOutBSTOrder(bSTOutOrderDTOs);
- //}
/// <summary>
/// 鎺ユ敹涓�鏈熺敓绠℃帓绋嬩俊鎭�
/// </summary>
/// <returns></returns>
[HttpPost, HttpGet, Route("ReceiveOutOrder"), AllowAnonymous]
- public WebResponseContent AddOutBSTOrder([FromBody] List<SGOutOrderDTO> outOrderDTOs)
+ public WebResponseContent AddOutSGOrder([FromBody] List<SGOutOrderDTO> outOrderDTOs)
{
return _taskService.AddOutSGOrder(outOrderDTOs);
}
+
/// <summary>
/// 鎺ユ敹鍗氭�濋�氶鏂欎俊鎭�
/// </summary>
/// <returns></returns>
[HttpPost, HttpGet, Route("ReceivePicking"), AllowAnonymous]
- public WebResponseContent ReceivePicking()
+ public WebResponseContent ReceivePicking(BSTPickInfoDTO bSTPickInfoDTO)
{
- return WebResponseContent.Instance.Error("鏈壘鍒板搴斿簱瀛樹俊鎭�") ;
+ return _taskService.ReceivePicking(bSTPickInfoDTO);
}
+
/// <summary>
/// 鎺ユ敹鍗氭�濋�氶��鏂欎俊鎭�
/// </summary>
@@ -117,6 +108,7 @@
{
return _returnBSTOrderService.ReceiveReturnOrder(bSTReturnOrderDTOs);
}
+
/// <summary>
/// 鎺ユ敹鍗氭�濋�氱洏鐐逛俊鎭�
/// </summary>
@@ -124,7 +116,17 @@
[HttpPost, HttpGet, Route("ReceiveStockCheckOrder"), AllowAnonymous]
public WebResponseContent ReceiveStockCheckOrder([FromBody] List<BSTOutOrderDTO> bSTOutOrderDTOs)
{
- return _outBSTOrderService.AddOutBSTOrder(bSTOutOrderDTOs);
+ return WebResponseContent.Instance.Error("鏈壘鍒板簱瀛�") ;
+ }
+
+ /// <summary>
+ /// 璋冪敤鍗氭�濋�欵RP搴撳瓨
+ /// </summary>
+ /// <returns></returns>
+ [HttpPost, HttpGet, Route("BSTStockAsync"), AllowAnonymous]
+ public string BSTStockAsync(string barCode)
+ {
+ return _invokeERPService.BSTStockAsync(barCode);
}
}
}
--
Gitblit v1.9.3