From bc478c8fad0988f7021fbc80c4a9375551c8ffa0 Mon Sep 17 00:00:00 2001
From: helongyang <647556386@qq.com>
Date: 星期五, 13 六月 2025 10:42:04 +0800
Subject: [PATCH] 1

---
 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_IStockService/IProStockInfoService.cs |   25 +++++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_IStockService/IProStockInfoService.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_IStockService/IProStockInfoService.cs"
index 1f65de3..6e082b8 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_IStockService/IProStockInfoService.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_IStockService/IProStockInfoService.cs"
@@ -3,6 +3,7 @@
 using System.Linq;
 using System.Text;
 using System.Threading.Tasks;
+using WIDESEA_Core;
 using WIDESEA_Core.BaseServices;
 using WIDESEA_IStockRepository;
 using WIDESEA_Model.Models;
@@ -12,5 +13,29 @@
     public interface IProStockInfoService : IService<Dt_ProStockInfo>
     {
         IProStockInfoRepository Repository { get; }
+        /// <summary>
+        /// 鏍规嵁澶栧寘淇℃伅瑙g粦鍐呭寘涓庤兌妗嗗簱瀛樹俊鎭�
+        /// </summary>
+        /// <param name="proStockInfoDetails"></param>
+        /// <returns></returns>
+        WebResponseContent UnBindStock(List<Dt_ProStockInfoDetail> proStockInfoDetails);
+        /// <summary>
+        /// 鏌ユ壘鍙敤搴撳瓨
+        /// </summary>
+        List<Dt_ProStockInfo> GetUseableStocks(int warehoseId, Dt_ProOutOrderDetail proOutOrderDetail);
+        /// <summary>
+        /// 鑾峰彇鍑哄簱搴撳瓨
+        /// </summary>
+        List<Dt_ProStockInfo> GetOutboundStocks(List<Dt_ProStockInfo> stockInfos, Dt_ProOutOrderDetail outOrderDetail, float needQuantity, out float residueQuantity);
+        
+        /// <summary>
+        /// MES鎻愬簱鍙敤搴撳瓨
+        /// </summary>
+        /// <returns></returns>
+        public List<Dt_ProStockInfo> GetUseableStocks(Dt_MesRworkOutboundOrder mesRworkOutboundOrder);
+        /// <summary>
+        /// 鑾峰彇MES鎻愬簱搴撳瓨
+        /// </summary>
+        List<Dt_ProStockInfo> GetOutboundStocks(List<Dt_ProStockInfo> stockInfos, Dt_MesRworkOutboundOrder mesRworkOutboundOrder, float needQuantity, out float residueQuantity);
     }
 }

--
Gitblit v1.9.3