From f56f8d4bf3bf088579a169519ef2547d40586f76 Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期五, 10 四月 2026 18:42:53 +0800
Subject: [PATCH] 添加平库货位上下架容器接口
---
代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/WMS/WMSController.cs | 18 +++++++++++++++---
1 files changed, 15 insertions(+), 3 deletions(-)
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/WMS/WMSController.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/WMS/WMSController.cs"
index fdc28a3..2a8e5c3 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/WMS/WMSController.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/WMS/WMSController.cs"
@@ -47,6 +47,18 @@
}
/// <summary>
+ /// 骞冲簱璐т綅涓婁笅鏋跺鍣�
+ /// </summary>
+ /// <param name="taskDTOs"></param>
+ /// <returns></returns>
+ [HttpPost, Route("UpOrDownContainer"), AllowAnonymous]
+ public WMSReturn UpOrDownContainer([FromBody] WMSUpOrDownContainerDTO wMSUpOrDown)
+ {
+ WebResponseContent content = _taskService.UpOrDownContainer(wMSUpOrDown);
+ return WMSReturnMethod.ReturnWMS(content);
+ }
+
+ /// <summary>
/// 鍙栨秷浠诲姟
/// </summary>
/// <param name="wMSCancelTask"></param>
@@ -99,10 +111,10 @@
/// </summary>
/// <param name="AreaCode">鍖哄煙鍙�</param>
/// <returns></returns>
- [HttpPost, Route("QueryStation"), AllowAnonymous]
- public WMSReturn QueryStation(string AreaCode)
+ [HttpGet, HttpPost, Route("QueryStation"), AllowAnonymous]
+ public WMSReturn QueryStation([FromBody] WMSGetLocationInfo getLocationInfo)
{
- WebResponseContent content = _taskService.LocationInquiry(AreaCode);
+ WebResponseContent content = _taskService.LocationInquiry(getLocationInfo);
return WMSReturnMethod.ReturnWMS(content);
}
}
--
Gitblit v1.9.3