using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
using WIDESEA_Core.BaseRepository;
|
using WIDESEA_Core.Enums;
|
using WIDESEA_DTO.Stock;
|
using WIDESEA_Model.Models;
|
|
namespace WIDESEA_IStockRepository
|
{
|
public interface IStockInfoRepository : IRepository<Dt_StockInfo>
|
{
|
List<StockViewDTO> GetAllStockViews();
|
|
Dt_StockInfo GetStockInfo(string palletCode);
|
Dt_StockInfo GetStockInfo(int id);
|
List<Dt_StockInfo> GetStockInfos(string materielCode);
|
|
List<Dt_StockInfo> GetStockInfos(string materielCode, List<string> locationCodes);
|
/// <summary>
|
/// 根据货位编号获取组盘库存信息
|
/// </summary>
|
/// <param name="materielCode"></param>
|
/// <returns></returns>
|
List<Dt_StockInfo> LocationCodesGetStockInfos(List<string> locationCodes, StockStatusEmun statusEmun = StockStatusEmun.已入库);
|
|
List<Dt_StockInfo> GetStockInfosByIds(List<int> ids);
|
|
List<Dt_StockInfo> GetStockInfosByPalletCodes(List<string> palletCodes);
|
|
List<Dt_StockInfo> GetStockInfosExclude(string materielCode, List<string> palletCodes);
|
|
bool UpdateDataWithDetail(Dt_StockInfo stockInfo);
|
|
Dt_StockInfo GetPalletStockInfo(string roadwayNo);
|
List<object> GetBatchNoStockInfo(string materielCode);
|
}
|
}
|