From 81946b468aff97b96fe50186246d3a853ce79b1b Mon Sep 17 00:00:00 2001
From: liulijun <liulijun@hnkhzn.com>
Date: 星期五, 06 三月 2026 11:38:48 +0800
Subject: [PATCH] 增加已有任务超时提示在任务完成后自动清除

---
 项目代码/WMS/WMSServices/WIDESEA_StockRepository/ProStockInfoRepository.cs |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_StockRepository/ProStockInfoRepository.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_StockRepository/ProStockInfoRepository.cs"
index b78cdfd..d1f0c0c 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_StockRepository/ProStockInfoRepository.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_StockRepository/ProStockInfoRepository.cs"
@@ -21,5 +21,15 @@
         {
             _basicRepository = basicRepository;
         }
+        public List<Dt_ProStockInfo> GetStockInfos(string materielCode, List<string> locationCodes)
+        {
+            List<Dt_ProStockInfo> stockInfos = Db.Queryable<Dt_ProStockInfo>().Where(x => locationCodes.Contains(x.LocationCode) && x.StockStatus == StockStatusEmun.鍏ュ簱瀹屾垚.ObjToInt()).Includes(x => x.proStockInfoDetails)
+                    .Where(x => x.proStockInfoDetails
+                    .Any(v =>
+                        v.ProductCode == materielCode &&
+                        v.OutboundQuantity<=0)
+                    ).OrderBy(x=>x.CreateDate).ToList();
+            return stockInfos;
+        }
     }
 }

--
Gitblit v1.9.3