dengjunjie
2025-01-04 296b4aec849d45a075b6068cb121dd0c117d3818
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
50
51
52
53
54
55
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.Basic;
using WIDESEA_DTO.ERP;
using WIDESEA_IBasicRepository;
using WIDESEA_Model.Models;
 
namespace WIDESEA_IBasicService
{
    public interface IMaterielInfoService : IService<Dt_MaterielInfo>
    {
        IMaterielInfoRepository Repository { get; }
 
        /// <summary>
        /// 判断物料是否存在
        /// </summary>
        /// <param name="materielCode">物料编号</param>
        /// <returns></returns>
        bool ExsitMateriel(string materielCode);
 
        /// <summary>
        /// 判断物料是否存在
        /// </summary>
        /// <param name="materielCodes">物料编号集合</param>
        /// <returns></returns>
        bool ExsitMateriels(List<string> materielCodes);
 
        /// <summary>
        /// 获取物料信息
        /// </summary>
        /// <param name="materielCode">物料编号</param>
        /// <returns></returns>
        Dt_MaterielInfo GetMaterielInfo(string materielCode);
 
        /// <summary>
        /// 查询物料信息
        /// </summary>
        /// <param name="materielCodes"></param>
        /// <returns></returns>
        List<Dt_MaterielInfo> GetMaterielInfos(List<string> materielCodes);
        WebResponseContent GetWarehouseMaterielInfos(int warehouseId);
 
        /// <summary>
        /// 接收ERP物料信息
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        WebResponseContent ReceiveMaterial(MaterielInfoDTO model);
    }
}