From 97073e9e6d03114221436ee0aa1e143d6e2c4a09 Mon Sep 17 00:00:00 2001 From: wankeda <Administrator@DESKTOP-HAU3ST3> Date: 星期一, 04 八月 2025 13:07:39 +0800 Subject: [PATCH] 出入库代码逻辑优化 --- WMS/WIDESEA_WMSServer/WIDESEA_StockService/Service/StockInfoService.cs | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/WMS/WIDESEA_WMSServer/WIDESEA_StockService/Service/StockInfoService.cs b/WMS/WIDESEA_WMSServer/WIDESEA_StockService/Service/StockInfoService.cs index 59b3b84..b6b5e1d 100644 --- a/WMS/WIDESEA_WMSServer/WIDESEA_StockService/Service/StockInfoService.cs +++ b/WMS/WIDESEA_WMSServer/WIDESEA_StockService/Service/StockInfoService.cs @@ -298,9 +298,9 @@ } - public List<Dt_StockInfo> GetUseableStocks(string materielCode, string batchNo, int warehoseId) + public List<Dt_StockInfo> GetUseableStocks(string materielCode, string batchNo, List<Dt_Warehouse> warehouse) { - List<string> locationCodes = _basicRepository.LocationInfoRepository.GetCanOutLocationCodes(warehoseId); + List<string> locationCodes = _basicRepository.LocationInfoRepository.GetCanOutLocationCodes(warehouse); return BaseDal.GetStockInfos(materielCode, batchNo, locationCodes); } -- Gitblit v1.9.3