49 lines
1.5 KiB
C#
49 lines
1.5 KiB
C#
using JSMachine.WMS.RPC.ErpRPC.Dto.In.BusinessParam;
|
|
using JSMachine.WMS.RPC.ErpRPC.Dto.Out.BusinessResult;
|
|
using JSMachine.WMS.RPC.ErpRPC.Dto.Out;
|
|
using System.ComponentModel.Composition;
|
|
using JSMachine.WMS.RPC.ErpRPC.Dto.Out.XRBusinessResult;
|
|
using JSMachine.WMS.Infrastructure.Helper;
|
|
using JSMachine.WMS.RPC.ErpRPC.Dto.In.XRBusinessResult;
|
|
using Newtonsoft.Json;
|
|
using RestSharp;
|
|
using System.Security.Policy;
|
|
|
|
namespace JSMachine.WMS.RPC.ErpRPC.IService
|
|
{
|
|
/// <summary>
|
|
/// Erp接口服务
|
|
/// </summary>
|
|
[InheritedExport("Erp")]
|
|
public interface IPaperStorageService
|
|
{
|
|
/// <summary>
|
|
/// PDA扫合格证码获取物料信息
|
|
/// </summary>
|
|
/// <param name="barCode"></param>
|
|
/// <returns></returns>
|
|
Task<XRResultDto> GetMateriaInfo(string barCode);
|
|
|
|
/// <summary>
|
|
/// 生产入库
|
|
/// </summary>
|
|
/// <param name="erpProduceInParam"></param>
|
|
/// <returns></returns>
|
|
Task<XRResultDto> AddProduceIn(ErpProduceInParam erpMateriaInDto);
|
|
|
|
/// <summary>
|
|
/// 生产退库
|
|
/// </summary>
|
|
/// <param name="erpProduceOutParam"></param>
|
|
/// <returns></returns>
|
|
Task<XRResultDto> AddProduceOut(ErpProduceOutParam erpProduceOutParam);
|
|
|
|
/// <summary>
|
|
/// 销售出库
|
|
/// </summary>
|
|
/// <param name="erpSaleOutParam"></param>
|
|
/// <returns></returns>
|
|
Task<XRResultDto> AddSaleOut(StockOutParam erpSaleOutParam);
|
|
}
|
|
}
|