From 96b7df5c86df57e5b1bb92c377d5e41e0d4355b9 Mon Sep 17 00:00:00 2001
From: yangpeixing <yangpeixing@hnkhzn.com>
Date: 星期一, 02 三月 2026 14:56:53 +0800
Subject: [PATCH] 1

---
 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