From 75e3bca44b111c167b9389e4e51b2ce577a9f9e0 Mon Sep 17 00:00:00 2001
From: 647556386 <647556386@qq.com>
Date: 星期日, 10 八月 2025 10:35:50 +0800
Subject: [PATCH] 优化更新
---
WMS/WIDESEA_WMSServer/WIDESEA_StockService/Service/StockInfoService.cs | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/WMS/WIDESEA_WMSServer/WIDESEA_StockService/Service/StockInfoService.cs b/WMS/WIDESEA_WMSServer/WIDESEA_StockService/Service/StockInfoService.cs
index c1920c5..b6b5e1d 100644
--- a/WMS/WIDESEA_WMSServer/WIDESEA_StockService/Service/StockInfoService.cs
+++ b/WMS/WIDESEA_WMSServer/WIDESEA_StockService/Service/StockInfoService.cs
@@ -80,6 +80,13 @@
return BaseDal.GetStockInfos(materielCode, locationCodes);
}
+ //public List<Dt_StockInfo> GetUseableStocks(string materielCode, string batchNo, int warehoseId)
+ //{
+ // List<string> locationCodes = _basicRepository.LocationInfoRepository.GetCanOutLocationCodes(warehoseId);
+
+ // return BaseDal.GetStockInfos(materielCode, batchNo, locationCodes);
+ //}
+
public List<StockSelectViewDTO> GetStockSelectViews(string materielCode)
{
List<string> roadways = _basicRepository.RoadwayInfoRepository.CanOutRoadwayNos;
@@ -289,5 +296,13 @@
[ExporterHeader(DisplayName = "鐗╂枡鐘舵��")]
public string Wlstatus { get; set; }
}
+
+
+ public List<Dt_StockInfo> GetUseableStocks(string materielCode, string batchNo, List<Dt_Warehouse> warehouse)
+ {
+ List<string> locationCodes = _basicRepository.LocationInfoRepository.GetCanOutLocationCodes(warehouse);
+
+ return BaseDal.GetStockInfos(materielCode, batchNo, locationCodes);
+ }
}
}
--
Gitblit v1.9.3