pan
8 天以前 cd7253920c5e597f6a8eefe813dd039bf1a5894b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
using WIDESEA_Core.BaseRepository;
using WIDESEA_Core.BaseServices;
using WIDESEA_DTO.Stock;
using WIDESEA_Model.Models;
 
namespace WIDESEA_IStockService
{
    public interface IStockInfoService : IService<Dt_StockInfo>
    {
        IRepository<Dt_StockInfo> Repository { get; }
        Dt_StockInfo? GetStockByPalletCode(string palletCode);
        List<Dt_StockInfo> GetStockInfosByPalletCodes(List<string> palletCodes);
        List<Dt_StockInfo> GetStockInfos(string materielCode, string lotNo, string supplyCode, List<string> locationCodes);
 
        List<Dt_StockInfo> GetUseableStocks(string materielCode, string batchNo,string supplyCode);
 
        Dt_StockInfo GetStockInfoByPalletCode(string palletCode);
        void AddMaterielGroup(Dt_StockInfo stockInfo);
        (List<Dt_StockInfo>, Dictionary<int, decimal>) GetOutboundStocks(List<Dt_StockInfo> stockInfos, string materielCode, decimal needQuantity, out decimal residueQuantity);
 
        List<StockSelectViewDTO> GetStockSelectViews(int orderId, string materielCode);
 
        List<StockSelectViewDTO> GetSelectViewDTOs(string orderNo, string materielCode);
 
        List<StockSelectViewDTO> GetAllocateSelectViewDTOs(int orderId, string materielCode);
    }
}