From 2640679b2823cd68d74e255442cce1634aac773c Mon Sep 17 00:00:00 2001
From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com>
Date: 星期三, 10 十二月 2025 12:40:03 +0800
Subject: [PATCH] Merge branch 'master' of http://115.159.85.185:8098/r/HuaYiZhongHeng/BaiBuLiKu
---
Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/StockInfoController.cs | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/StockInfoController.cs b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/StockInfoController.cs
index ddec94f..a4d285c 100644
--- a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/StockInfoController.cs
+++ b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/StockInfoController.cs
@@ -9,4 +9,10 @@
public StockInfoController(IStockInfoService service) : base(service)
{
}
+
+ [HttpGet, AllowAnonymous, Route("GetLocationByStockType")]
+ public Task<Dictionary<string, int>> GetLocationByStockType(bool stockType, string areaCode)
+ {
+ return Service.GetLocationByStockType(stockType, areaCode);
+ }
}
\ No newline at end of file
--
Gitblit v1.9.3