| 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; } | 
|   | 
|         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); | 
|   | 
|         List<PPStockSelectViewDTO> PPGetStockSelectViews(int orderId, string materielCode); | 
|         List<PPStockSelectViewDTO> PPGetPKStockSelectViews(int orderId, string materielCode); | 
|     } | 
| } |