From 70f22c9c06c7dfe2a2a83c0d2fcc79892dba7d8f Mon Sep 17 00:00:00 2001
From: hutongqing <hutongqing@hnkhzn.com>
Date: 星期三, 18 十二月 2024 17:08:29 +0800
Subject: [PATCH] 1
---
代码管理/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 46 insertions(+), 0 deletions(-)
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs"
index ea5eb3e..6e357a9 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs"
@@ -1,6 +1,7 @@
锘縰sing Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
+using WIDESEA_Common.CommonEnum;
using WIDESEA_Core;
using WIDESEA_Core.BaseController;
using WIDESEA_DTO.Stock;
@@ -17,5 +18,50 @@
{
}
+ /// <summary>
+ /// 灏哤MS浠诲姟鎺ㄩ�佽嚦WCS
+ /// </summary>
+ /// <returns></returns>
+ [HttpPost, HttpGet, Route("PushTasksToWCS"), AllowAnonymous]
+ public WebResponseContent PushTasksToWCS()
+ {
+ return Service.PushTasksToWCS();
+ }
+
+ /// <summary>
+ /// 鐢宠鍏ュ簱浠诲姟
+ /// </summary>
+ /// <param name="palletCode"></param>
+ /// <param name="stationCode"></param>
+ /// <returns></returns>
+ [HttpPost, HttpGet, Route("RequestInboundTask"), AllowAnonymous]
+ public WebResponseContent RequestInboundTask(string palletCode, string stationCode)
+ {
+ return Service.RequestInboundTask(palletCode, stationCode);
+ }
+
+ /// <summary>
+ /// 鍏ュ簱浠诲姟鐢宠鍒嗛厤璐т綅
+ /// </summary>
+ /// <param name="taskNum">浠诲姟鍙�</param>
+ /// <param name="roadwayNo">宸烽亾鍙�</param>
+ /// <param name="palletType">鎵樼洏绫诲瀷</param>
+ /// <returns></returns>
+ [HttpPost, HttpGet, Route("AssignInboundTaskLocation"), AllowAnonymous]
+ public WebResponseContent AssignInboundTaskLocation(int taskNum, string roadwayNo)
+ {
+ return Service.AssignInboundTaskLocation(taskNum, roadwayNo);
+ }
+
+ /// <summary>
+ /// 鍏ュ簱浠诲姟瀹屾垚
+ /// </summary>
+ /// <param name="taskNum"></param>
+ /// <returns></returns>
+ [HttpPost, HttpGet, Route("InboundTaskCompleted"), AllowAnonymous]
+ public WebResponseContent InboundTaskCompleted(int taskNum)
+ {
+ return Service.InboundTaskCompleted(taskNum);
+ }
}
}
--
Gitblit v1.9.3