1
dengjunjie
2025-02-20 37ea017aad42d0682d068b65e82aa62ea9e2c1ea
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
28
29
30
31
32
33
34
35
36
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);
 
        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);
    }
}