You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
163 lines
4.1 KiB
163 lines
4.1 KiB
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace CusSupplierContactBP.Proxy
|
|
{
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.IO;
|
|
using System.ServiceModel;
|
|
using System.Runtime.Serialization;
|
|
using UFSoft.UBF;
|
|
using UFSoft.UBF.Exceptions;
|
|
using UFSoft.UBF.Util.Context;
|
|
using UFSoft.UBF.Service;
|
|
using UFSoft.UBF.Service.Base ;
|
|
|
|
[System.ServiceModel.ServiceContractAttribute(Namespace = "http://www.UFIDA.org", Name="CusSupplierContactBP.ICusSelSupplierContactBP")]
|
|
public interface ICusSelSupplierContactBP
|
|
{
|
|
[ServiceKnownType(typeof(ApplicationContext))]
|
|
[ServiceKnownType(typeof(PlatformContext))]
|
|
[ServiceKnownType(typeof(ThreadContext))]
|
|
[ServiceKnownType(typeof( UFSoft.UBF.Business.BusinessException))]
|
|
[ServiceKnownType(typeof( UFSoft.UBF.Business.EntityNotExistException))]
|
|
[ServiceKnownType(typeof( UFSoft.UBF.Business.AttributeInValidException))]
|
|
[ServiceKnownType(typeof(UFSoft.UBF.Business.AttrsContainerException))]
|
|
[ServiceKnownType(typeof(UFSoft.UBF.Exceptions.MessageBase))]
|
|
[FaultContract(typeof(UFSoft.UBF.Service.ServiceLostException))]
|
|
[FaultContract(typeof(UFSoft.UBF.Service.ServiceException))]
|
|
[FaultContract(typeof(UFSoft.UBF.Service.ServiceExceptionDetail))]
|
|
[FaultContract(typeof(ExceptionBase))]
|
|
[FaultContract(typeof(Exception))]
|
|
[OperationContract()]
|
|
List<CusSupplierContactBP.OperationResultContentData> Do(IContext context, out IList<MessageBase> outMessages ,System.String supplierNo, System.String orgID, System.String pODocNo);
|
|
}
|
|
[Serializable]
|
|
public class CusSelSupplierContactBPProxy : OperationProxyBase//, CusSupplierContactBP.Proxy.ICusSelSupplierContactBP
|
|
{
|
|
#region Fields
|
|
private System.String supplierNo ;
|
|
private System.String orgID ;
|
|
private System.String pODocNo ;
|
|
|
|
#endregion
|
|
|
|
#region Properties
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// 供应商编码 (该属性可为空,且无默认值)
|
|
/// 查询供应商联系人BP.Misc.供应商编码
|
|
/// </summary>
|
|
/// <value>System.String</value>
|
|
public System.String SupplierNo
|
|
{
|
|
get
|
|
{
|
|
return this.supplierNo;
|
|
}
|
|
|
|
set
|
|
{
|
|
this.supplierNo = value;
|
|
}
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
/// 组织ID (该属性可为空,且无默认值)
|
|
/// 查询供应商联系人BP.Misc.组织ID
|
|
/// </summary>
|
|
/// <value>System.String</value>
|
|
public System.String OrgID
|
|
{
|
|
get
|
|
{
|
|
return this.orgID;
|
|
}
|
|
|
|
set
|
|
{
|
|
this.orgID = value;
|
|
}
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
/// 采购订单号 (该属性可为空,且无默认值)
|
|
/// 查询供应商联系人BP.Misc.采购订单号
|
|
/// </summary>
|
|
/// <value>System.String</value>
|
|
public System.String PODocNo
|
|
{
|
|
get
|
|
{
|
|
return this.pODocNo;
|
|
}
|
|
|
|
set
|
|
{
|
|
this.pODocNo = value;
|
|
}
|
|
}
|
|
|
|
#endregion
|
|
|
|
|
|
#region Constructors
|
|
public CusSelSupplierContactBPProxy()
|
|
{
|
|
}
|
|
#endregion
|
|
|
|
|
|
#region Public Method
|
|
|
|
public List<CusSupplierContactBP.OperationResultContentData> Do()
|
|
{
|
|
InitKeyList() ;
|
|
List<CusSupplierContactBP.OperationResultContentData> result = (List<CusSupplierContactBP.OperationResultContentData>)InvokeAgent<CusSupplierContactBP.Proxy.ICusSelSupplierContactBP>();
|
|
return GetRealResult(result);
|
|
}
|
|
|
|
protected override object InvokeImplement<T>(T oChannel)
|
|
{
|
|
IContext context = ContextManager.Context;
|
|
|
|
ICusSelSupplierContactBP channel = oChannel as ICusSelSupplierContactBP;
|
|
if (channel != null)
|
|
{
|
|
return channel.Do(context, out returnMsgs, supplierNo, orgID, pODocNo);
|
|
}
|
|
return null;
|
|
}
|
|
#endregion
|
|
|
|
//处理由于序列化导致的返回值接口变化,而进行返回值的实际类型转换处理.
|
|
private List<CusSupplierContactBP.OperationResultContentData> GetRealResult(List<CusSupplierContactBP.OperationResultContentData> result)
|
|
{
|
|
return result ;
|
|
}
|
|
#region Init KeyList
|
|
//初始化SKey集合--由于接口不一样.BP.SV都要处理
|
|
private void InitKeyList()
|
|
{
|
|
System.Collections.Hashtable dict = new System.Collections.Hashtable() ;
|
|
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|