wangxinhui
2026-04-08 6861434f1445d1685b67a24897890c34f8c54f85
´úÂë¹ÜÀí/WMS/WMSServices/WIDESEA_IStockService/IStockInfoService.cs
@@ -1,50 +1,14 @@
using OfficeOpenXml.FormulaParsing.Excel.Operators;
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEA_Core;
using WIDESEA_Core.BaseServices;
using WIDESEA_DTO.Stock;
using WIDESEA_IStockRepository;
using WIDESEA_Model.Models;
namespace WIDESEA_IStockService
{
    public interface IStockInfoService : IService<Dt_StockInfo>
    {
        IStockInfoRepository Repository { get; }
        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);
        /// <summary>
        /// åˆ†é…è€åŽ‚åº“å­˜
        /// </summary>
        List<Dt_StockInfo> GetOutOldStocks(List<Dt_StockInfo> stockInfos, decimal needQuantity);
    }
}