/// <summary>
 /// 登记簿查询
 /// </summary>
 /// <param name="tellerNO">柜员号</param>
 /// <param name="organNO">交易机构号</param>
 /// /// <param name="queryOrgNO">查询机构号</param>
 /// <param name="flowNO">资金流水号</param>
 /// <param name="orignalDate">原委托日期</param>
 /// <param name="codemsg"></param>
 /// <returns></returns>
 public static Guid PayRegisterRetrieved(String tellerNO, String orgNO, String flowNO, DateTime orignalDate, ref byte[] codemsg)
 {
     PayRegisterRetrievedData retrieveData = new PayRegisterRetrievedData();
     retrieveData.RQData.PayBank = orgNO;
     retrieveData.RQData.TradTeller = tellerNO;
     retrieveData.RQData.OriDelegateDate = orignalDate.ToString("yyyyMMdd");
     retrieveData.RQData.TransferFlowNo = flowNO;//CommonDataHelper.PadLeft4BizFlowNO(flowNO, '0', 18);
     return MsgTransfer.CodeMsgToBinary(retrieveData, ref codemsg);
 }
Esempio n. 2
0
 private String TestForRegisterRetrieved(StringBuilder result, PayRegisterRetrievedData respData)
 {
     if (respData == null || respData.RPData == null)
     {
         return result.ToString();
     }
     result.AppendFormat("交易结果:{0};交易结果描述:{1};渠道标志:{2};状态:{3}", respData.RPData.RetCode, respData.RPData.RetMsg, respData.RPData.PackageChannelType, respData.RPData.AccountStatus);
     return result.ToString();
 }
Esempio n. 3
0
 /// <summary>
 /// 登记簿查询
 /// </summary>
 /// <param name="tellerNO">柜员号</param>
 /// <param name="organNO">交易机构号</param>
 /// /// <param name="queryOrgNO">查询机构号</param>
 /// <param name="flowNO">资金流水号</param>
 /// <param name="orignalDate">原委托日期</param>
 /// <param name="codemsg"></param>
 /// <returns></returns>
 public static Guid PayRegisterRetrieved(String tellerNO, String orgNO, String flowNO, DateTime orignalDate, ref byte[] codemsg)
 {
     PayRegisterRetrievedData retrieveData = new PayRegisterRetrievedData();
     retrieveData.RQData.PayBank = orgNO;
     retrieveData.RQData.TradTeller = tellerNO;
     retrieveData.RQData.OriDelegateDate = orignalDate.ToString("yyyyMMdd");
     retrieveData.RQData.TransferFlowNo = flowNO;//CommonDataHelper.PadLeft4BizFlowNO(flowNO, '0', 18);
     try
     {
        return PreProcessPaymentMsg(retrieveData, ref codemsg);
     }
     catch (Exception ex)
     {
         throw new Exception(MESSAGE_ENCODE_EXCEPTION, ex);
     }
 }