From 34922eb239109534679d35a75661d6e2a5603347 Mon Sep 17 00:00:00 2001
From: wankeda <Administrator@DESKTOP-HAU3ST3>
Date: 星期六, 27 十二月 2025 10:16:36 +0800
Subject: [PATCH] 成品库流程

---
 WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/MaterielInfoController.cs |   19 ++++++++++++++++++-
 1 files changed, 18 insertions(+), 1 deletions(-)

diff --git a/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/MaterielInfoController.cs b/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/MaterielInfoController.cs
index 9c68c68..22e56da 100644
--- a/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/MaterielInfoController.cs
+++ b/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/MaterielInfoController.cs
@@ -1,5 +1,7 @@
-锘縰sing Microsoft.AspNetCore.Http;
+锘縰sing Microsoft.AspNetCore.Authorization;
+using Microsoft.AspNetCore.Http;
 using Microsoft.AspNetCore.Mvc;
+using WIDESEA_Common;
 using WIDESEA_Core;
 using WIDESEA_Core.BaseController;
 using WIDESEA_Core.CodeConfigEnum;
@@ -27,6 +29,8 @@
         /// <returns></returns>
         [HttpPost, HttpGet, Route("CodeAnalysis")]
         public WebResponseContent CodeAnalysis(string serNum)
+        
+        
         {
             try
             {
@@ -39,6 +43,7 @@
                 return WebResponseContent.Instance.Error(ex.Message);
             }
         }
+
         /// <summary>
         /// 鑾峰彇搴撳尯鐗╂枡淇℃伅
         /// </summary>
@@ -49,5 +54,17 @@
         //{
         //    return Service.GetWarehouseMaterielInfos(warehouseId);
         //}
+
+        /// <summary>
+        /// 鑾峰彇WMS鐗╂枡淇℃伅
+        /// </summary>
+        /// <param name="warehouseId"></param>
+        /// <returns></returns>
+        [HttpPost, HttpGet, Route("GetMaterielInfos"), AllowAnonymous]
+        public WebResponseContent GetMaterielInfos([FromBody] List<HouseMaterielinfo> materielinfo)
+        {
+            return Service.GetMaterielInfos(materielinfo);
+        }
+
     }
 }

--
Gitblit v1.9.3