From a0adb6373dbe1d37858998c12e206219dc45ac5c Mon Sep 17 00:00:00 2001
From: chenyong <chenyong@hnkhzn.com>
Date: 星期二, 17 三月 2026 15:36:07 +0800
Subject: [PATCH] 修复用户编辑页面下拉框无最近角色选项问题

---
 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs"
index 086702d..5e0ed32 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs"
@@ -1,6 +1,7 @@
 锘縰sing Microsoft.AspNetCore.Authorization;
 using Microsoft.AspNetCore.Http;
 using Microsoft.AspNetCore.Mvc;
+using WIDESEA_Core;
 using WIDESEA_Core.BaseController;
 using WIDESEA_DTO.Stock;
 using WIDESEA_IBasicRepository;
@@ -34,5 +35,17 @@
         {
             return Service.Repository.GetPalletStockInfo(roadwayNo);
         }
+
+        [HttpPost, Route("GetStockDetails"), AllowAnonymous]
+        public WebResponseContent GetStockDetails([FromBody] SaveModel saveModel)
+        {
+            return Service.Repository.GetStockDetails(saveModel);
+        }
+
+        [HttpPost, Route("UpdateGetStockDetails"), AllowAnonymous]
+        public WebResponseContent UpdateGetStockDetails([FromBody] SaveModel saveModel)
+        {
+            return Service.Repository.UpdateGetStockDetails(saveModel);
+        }
     }
 }

--
Gitblit v1.9.3