From 36230cd4dd0ebe5d21eede3eff6216908f7f7a8e Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期三, 06 十一月 2024 16:48:32 +0800
Subject: [PATCH] AGV任务下发,AGV任务状态更新

---
 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Interface/PDAController.cs |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/PDAController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Interface/PDAController.cs"
similarity index 80%
rename from "\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/PDAController.cs"
rename to "\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Interface/PDAController.cs"
index 62e3463..7410ccb 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/PDAController.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Interface/PDAController.cs"
@@ -9,17 +9,17 @@
 using WIDESEA_ITaskInfoService;
 using WIDESEA_Model.Models;
 
-namespace WIDESEA_WMSServer.Controllers
+namespace WIDESEA_WMSServer.Controllers.Interface
 {
     [Route("api/PDA")]
-    [Authorize, ApiController]
+    [AllowAnonymous, ApiController]
     public class PDAController : Controller
     {
         private readonly IInboundService _inboundService;
         private readonly IOutboundService _outboundService;
         private readonly ITaskService _taskService;
 
-        public PDAController(ITaskService taskService, IInboundService inboundService,IOutboundService outboundService)
+        public PDAController(ITaskService taskService, IInboundService inboundService, IOutboundService outboundService)
         {
             _inboundService = inboundService;
             _outboundService = outboundService;
@@ -44,6 +44,12 @@
             return _inboundService.InbounOrderService.MaterielGroup(materielGroupDTO);
         }
 
+        [HttpPost, Route("PdaAddStockInfo")]
+        public WebResponseContent PdaAddStockInfo([FromBody] PdaMaterielGroupDTO materielGroupDTO)
+        {
+            return _inboundService.InbounOrderService.PdaAddStockInfo(materielGroupDTO);
+        }
+
         [HttpPost, Route("QueryOrderInfo")]
         public WebResponseContent QueryOrderInfo(int pageNo, string orderNo)
         {

--
Gitblit v1.9.3