1
yangpeixing
3 天以前 48e2278d7ac330c7f05deda6f884acb6f01206b4
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
37
38
39
40
41
42
43
44
45
46
47
48
49
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEA_Core.BaseServices;
using WIDESEA_DTO.Stock;
using WIDESEA_IStockRepository;
using WIDESEA_Model.Models;
 
namespace WIDESEA_IStockService
{
    public interface IStockInfoService : IService<Dt_StockInfo>
    {
        IStockInfoRepository Repository { get; }
 
        Dt_StockInfo? GetStockByPalletCode(string palletCode);
 
        void AddMaterielGroup(Dt_StockInfo stockInfo);
 
        List<Dt_StockInfo> GetUseableStocks(string materielCode);
 
        //List<Dt_StockInfo> GetUseableStocks(string materielCode, int warehoseId);
 
        //List<Dt_StockInfo> GetUseableStocks(string materielCode, string batchNo,,string , int warehoseId);
 
        List<Dt_StockInfo> GetUseableStocks(string materielCode, string palletcode, List<Dt_Warehouse> warehouse);
 
        //List<Dt_StockInfo> GetUseableStocks(string materielCode, string batchNo, int warehoseId);
 
        List<StockSelectViewDTO> GetStockSelectViews(string materielCode);
 
        List<Dt_StockInfo> GetOutboundStocks(List<Dt_StockInfo> stockInfos, string materielCode, decimal needQuantity, out decimal residueQuantity);
 
        public List<Dt_StockInfo> DWANDYSGetOutboundStocks(List<Dt_StockInfo> stockInfos,List<Dt_OutboundOrderDetail> dt_OutboundOrderDetails, out List<residueQuantity> residueQuantitys);
 
        public List<Dt_StockInfo> CPGetOutboundStocks(List<Dt_StockInfo> stockInfos, List<Dt_NewOutboundOrderDetail> dt_OutboundOrderDetails, out List<residueQuantity> residueQuantitys);
 
        /// <summary>
        /// 
        /// </summary>
        public class residueQuantity
        {
            public string MaterielCode { get; set; }
            public string BatchNo { get; set; }
            public decimal NewNeendQuantity { get; set; }
        }
    }
}