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_DTO.WCSInfo;
|
using WIDESEA_IStockRepository;
|
using WIDESEA_Model.Models;
|
|
namespace WIDESEA_IStockService
|
{
|
public interface IStockInfoService : IService<Dt_StockInfo>
|
{
|
IStockInfoRepository Repository { get; }
|
|
Dt_StockInfo? GetStockByPalletCode(string palletCode);
|
/// <summary>
|
/// 修改库存信息及入库单
|
/// </summary>
|
/// <param name="stockInfo"></param>
|
/// <param name="inboundOrder"></param>
|
/// <returns></returns>
|
WebResponseContent AddStockInfo(ref Dt_StockInfo stockInfo, ref Dt_InboundOrder inboundOrder, ProductionlineDTO productionlineDTO);
|
/// <summary>
|
/// 添加空托组盘信息
|
/// </summary>
|
/// <param name="palletCode"></param>
|
/// <returns></returns>
|
WebResponseContent AddStockEmpty(string palletCode);
|
|
void AddMaterielGroup(Dt_StockInfo stockInfo);
|
|
List<Dt_StockInfo> GetUseableStocks(string materielCode);
|
|
List<StockSelectViewDTO> GetStockSelectViews(string materielCode);
|
|
List<Dt_StockInfo> GetOutboundStocks(List<Dt_StockInfo> stockInfos, string materielCode, decimal needQuantity, out decimal residueQuantity);
|
}
|
}
|