From 58a1b8b7db72225e0c2acca4f76399899f1bda4f Mon Sep 17 00:00:00 2001
From: wankeda <Administrator@DESKTOP-HAU3ST3>
Date: 星期五, 09 一月 2026 15:14:41 +0800
Subject: [PATCH] 1
---
WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs | 72 ++++++++++++++++++++++++++++++++++--
1 files changed, 68 insertions(+), 4 deletions(-)
diff --git a/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs b/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs
index 3d429ed..f8c3ced 100644
--- a/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs
+++ b/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs
@@ -31,10 +31,29 @@
}
[HttpPost, Route("GenerateOutboundTask"), AllowAnonymous]
- public WebResponseContent GenerateOutboundTask(int id, [FromBody] List<StockSelectViewDTO> stockSelectViews)
+ public WebResponseContent GenerateOutboundTask(int orderDetailId, [FromBody] List<StockSelectViewDTO> stockSelectViews)
{
- return Service.GenerateOutboundTask(id, stockSelectViews);
+ return Service.GenerateOutboundTask(orderDetailId, stockSelectViews);
}
+
+ [HttpPost, Route("WMSGenerateOutboundTask"), AllowAnonymous]
+ public WebResponseContent WMSGenerateOutboundTask([FromBody] int[] keys)
+ {
+ return Service.WMSGenerateOutboundTask(keys);
+ }
+
+ [HttpPost, Route("WMSGenerateNewOutboundTask"), AllowAnonymous]
+ public WebResponseContent WMSGenerateNewOutboundTask([FromBody] int[] keys)
+ {
+ return Service.WMSGenerateNewOutboundTask(keys);
+ }
+
+ [HttpPost, Route("WMSGenerateSTOutboundTask"), AllowAnonymous]
+ public WebResponseContent WMSGenerateSTOutboundTask([FromBody] int[] keys)
+ {
+ return Service.WMSGenerateSTOutboundTask(keys);
+ }
+
/// <summary>
/// WCS鐢宠鍏ュ簱浠诲姟
/// </summary>
@@ -52,10 +71,28 @@
/// <param name="palletCode"></param>
/// <returns></returns>
[HttpPost, HttpGet, Route("DeviceRequestInboundTaskSimple"), AllowAnonymous]
- public WebResponseContent DeviceRequestInboundTaskSimple(string stationCode, string palletCode)
+ public WebResponseContent DeviceRequestInboundTaskSimple(string stationCode, string palletCode, int heightType)
{
- return Service.DeviceRequestInboundTaskSimple(stationCode, palletCode);
+ return Service.DeviceRequestInboundTaskSimple(stationCode, palletCode, heightType);
}
+
+ [HttpPost, HttpGet, Route("CPDeviceRequestInboundTaskSimple"), AllowAnonymous]
+ public WebResponseContent CPDeviceRequestInboundTaskSimple(string stationCode, string palletCode, int heightType, string courceAddress)
+ {
+ return Service.CPDeviceRequestInboundTaskSimple(stationCode, palletCode, heightType, courceAddress);
+ }
+
+ /// <summary>
+ /// 鐢宠宸烽亾
+ /// </summary>
+ /// <param name="palletCode"></param>
+ /// <returns></returns>
+ [HttpPost, HttpGet, Route("ApplyLocation"), AllowAnonymous]
+ public WebResponseContent ApplyLocation(string palletCode)
+ {
+ return Service.ApplyLocation(palletCode);
+ }
+
/// <summary>
/// 鍒ゆ柇宸烽亾鍐呯Щ搴�
/// </summary>
@@ -169,5 +206,32 @@
{
return Service.UpdateTaskInfo(task);
}
+
+ [HttpPost, Route("FeedBackInboundERP"), AllowAnonymous]
+ public WebResponseContent FeedBackInboundERP(string upperOrderNo, string linId)
+ {
+ return Service.FeedBackInboundERP(upperOrderNo, linId);
+ }
+
+ /// <summary>
+ /// 鍗曟嵁鏄庣粏鍑哄簱瀹屾垚鍥炶皟erp
+ /// </summary>
+ /// <param name="orderNO"></param>
+ /// <param name="linId"></param>
+ /// <returns></returns>
+ [HttpPost, Route("FeedBackOutERP"), AllowAnonymous]
+ public WebResponseContent FeedBackOutERP(string orderNO, string linId)
+ {
+ return Service.FeedBackOutERP(orderNO, linId);
+ }
+
+ /// <summary>
+ /// 閫夊畾搴撳瓨鐢熸垚鐩樼偣鍗曞嚭搴�
+ /// </summary>
+ [HttpPost, Route("TakeOutbound"), AllowAnonymous]
+ public WebResponseContent TakeOutbound([FromBody] List<StockViewDTO> stockViews)
+ {
+ return Service.TakeOutbound(stockViews);
+ }
}
}
--
Gitblit v1.9.3