From 2044377679930e8580573322b2a62624a9b0e927 Mon Sep 17 00:00:00 2001
From: 647556386 <647556386@qq.com>
Date: 星期一, 13 四月 2026 08:40:42 +0800
Subject: [PATCH] Merge branch 'master' of http://115.159.85.185:8098/r/RuiShiGe/HanDanLiKu

---
 项目代码/WMS/WMSServices/WIDESEA_WMSServer/Controllers/PLS/PlsController.cs |   56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 56 insertions(+), 0 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_WMSServer/Controllers/PLS/PlsController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_WMSServer/Controllers/PLS/PlsController.cs"
new file mode 100644
index 0000000..661b1ac
--- /dev/null
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_WMSServer/Controllers/PLS/PlsController.cs"
@@ -0,0 +1,56 @@
+锘縰sing Microsoft.AspNetCore.Authorization;
+using Microsoft.AspNetCore.Mvc;
+using WIDESEA_Core.Attributes;
+using WIDESEA_Core;
+using WIDESEA_DTO.ERP;
+using WIDESEA_DTO;
+using WIDESEA_External.ERPService;
+using WIDESEA_IBasicService;
+using WIDESEA_DTO.PLS;
+using WIDESEA_External.Model;
+using WIDESEA_External.IPLSService;
+
+
+namespace WIDESEA_WMSServer.Controllers.PLS
+{
+    [Route("api/Pls")]
+    [ApiController]
+    public class PlsController:ControllerBase
+    {
+        private readonly IBasicService _basicService;
+        private readonly IInvokePLSService _invokePLSService;
+
+        public PlsController(IBasicService basicService,IInvokePLSService invokePLSService)
+        {
+            _basicService = basicService;
+            _invokePLSService = invokePLSService;
+        }
+
+        /// <summary>
+        /// 鎺ユ敹PLS鍚屾VMI鐗╂枡淇℃伅
+        /// </summary>
+        /// <param name="model"></param>
+        /// <returns></returns>
+        [HttpPost, Route("ReceiveVMIMaterial"), AllowAnonymous, MethodParamsValidate]
+        public ApiResponseContent ReceiveVMIMaterial([FromBody] VMIItemCodeInfo vmiModel)
+        {
+            WebResponseContent content = _basicService.MaterielInfoService.ReceiveVMIMaterial(vmiModel);
+            if (content.Status) {
+                return ApiResponseContent.Instance.OK();
+            } 
+            else {
+                return ApiResponseContent.Instance.Error();
+            }
+        }
+
+        /// <summary>
+        /// MO绁ㄧ姸鎬佷笂鎶LS
+        /// </summary>
+        /// <returns></returns>
+        [HttpPost, Route("InvokeMoInboundStatuApi"), AllowAnonymous]
+        public string InvokeMoInboundStatuApi([FromBody] ReturnMoInboundStatuModel moInboundStatuModel)
+        {
+            return _invokePLSService.InvokeMoInboundStatuApi(moInboundStatuModel);
+        }
+    }
+}

--
Gitblit v1.9.3