liulijun
2025-11-24 9086b238cd9fbb9fbeae7cab11d59576cd9d2853
ÏîÄ¿´úÂë/WMS/WMSServices/WIDESEA_IStockService/IStockInfoService.cs
@@ -1,4 +1,5 @@
using System;
using OfficeOpenXml.FormulaParsing.Excel.Operators;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@@ -14,20 +15,36 @@
    public interface IStockInfoService : IService<Dt_StockInfo>
    {
        IStockInfoRepository Repository { get; }
        List<StockSelectViewDTO> GetStockSelectViews(int orderId, string materielCode);
        List<StockSelectViewDTO> GetPKStockSelectViews(int orderId, string materielCode);
        List<Dt_StockInfo> GetOutboundStocks(List<Dt_StockInfo> stockInfos, string materielCode, float needQuantity, out float residueQuantity);
        List<Dt_StockInfo> GetUseableStocks(string materielCode, string batchNo, int warehoseId);
        //List<Dt_StockInfo> GetUseableStocks(string materielCode, string batchNo,,string , int warehoseId);
        List<Dt_StockInfo> GetUseableStocks(string materielCode, string batchNo, string palletcode, int warehoseId);
        WebResponseContent StockQueryData(SaveModel saveModel);
        /// <summary>
        /// æ‰‹åŠ¨ç»„ç›˜
        /// </summary>
        WebResponseContent ManualMaterielGroup(SaveModel saveModel);
        /// <summary>
        /// æ›´æ–°è€åŽ‚æ®‹å·åº“å­˜
        /// </summary>
        /// <returns></returns>
        WebResponseContent UpBSTStock(int operate);
        /// <summary>
        /// èŽ·å–å¯ä½¿ç”¨åº“å­˜
        /// </summary>
        List<Dt_StockInfo> GetUseableStocks(int materielId,decimal width, int warehoseId);
        /// <summary>
        /// èŽ·å–ç”Ÿç®¡å¯ä½¿ç”¨åº“å­˜
        /// </summary>
        List<Dt_StockInfo> GetUseableStocks(string materielCode, decimal width, int warehoseId);
        /// <summary>
        /// èŽ·å–å¯ä½¿ç”¨åº“å­˜
        /// </summary>
        List<Dt_StockInfo> GetUseableStocks(string materielCode, int warehoseId);
        /// <summary>
        /// åˆ†é…å®žé™…库存
        /// </summary>
        List<Dt_StockInfo> GetOutboundStocks(List<Dt_StockInfo> stockInfos, decimal needQuantity);
        List<PPStockSelectViewDTO> PPGetStockSelectViews(int orderId, string materielCode);
        List<PPStockSelectViewDTO> PPGetPKStockSelectViews(int orderId, string materielCode);
        /// <summary>
        /// åˆ†é…è€åŽ‚åº“å­˜
        /// </summary>
        List<Dt_StockInfo> GetOutOldStocks(List<Dt_StockInfo> stockInfos, decimal needQuantity);
    }
}