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> GetStockInfos(string materielCode, string lotNo, string supplyCode, List<string> locationCodes);
|
|
List<Dt_StockInfo> GetUseableStocks(string materielCode, string batchNo,string supplyCode);
|
|
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);
|
}
|
}
|