/// <summary>
        /// 查询客户基本信息
        /// </summary>
        /// <param name="tellerNO">操作柜员号</param>
        /// <param name="organNO">操作柜员所属机构号</param>
        /// <param name="tradeDate">业务发生时间</param>
        /// <param name="docType">证件类型</param>
        /// <param name="docNO">证件号码</param>
        /// <param name="codemsg"></param>
        /// <returns></returns>
        public static Guid RetrieveCstmBaseInfo(String tellerNO, String organNO, DateTime tradeDate, String docType, String docNO, ref byte[] codemsg)
        {
            RetrieveCstmBaseInfoData retrieveData = new RetrieveCstmBaseInfoData();
            retrieveData.RQDTL.DOC_TYPE = docType;
            retrieveData.RQDTL.DOC_NO = docNO;
            retrieveData.RQhdrHandler.SYS_TXID = "300011"; // 查询,主机启动原交易码
            retrieveData.RQhdrHandler.TX_OUNO = organNO;
            retrieveData.RQhdrHandler.TEL_ID = tellerNO;
            retrieveData.RQhdrHandler.TX_MODE = "0";
            retrieveData.RQhdrHandler.TX_DTE = tradeDate.ToString("yyyy-MM-dd");
            retrieveData.RQhdrHandler.SRV_JNO = CommonDataHelper.SpaceString(12);
            retrieveData.RQhdrHandler.SRV_REV_JNO = CommonDataHelper.SpaceString(12);
            retrieveData.RQhdrHandler.HOST_JNO = CommonDataHelper.SpaceString(11);

            return MsgTransfer.CodeMsgToBinary(retrieveData, ref codemsg);
        }
Esempio n. 2
0
 /// <summary>
 /// 查询客户基本信息
 /// </summary>
 /// <param name="tellerNO">操作柜员号</param>
 /// <param name="organNO">操作柜员所属机构号</param>
 /// <param name="tradeDate">业务发生时间</param>
 /// <param name="docType">证件类型</param>
 /// <param name="docNO">证件号码</param>
 /// <param name="codemsg"></param>
 /// <returns></returns>
 public static Guid RetrieveCstmBaseInfo(String tellerNO, String organNO, DateTime tradeDate, String docType, String docNO, ref byte[] codemsg)
 {
     RetrieveCstmBaseInfoData retrieveData = new RetrieveCstmBaseInfoData();
     retrieveData.RQDTL.DOC_TYPE = docType;
     retrieveData.RQDTL.DOC_NO = docNO;
     retrieveData.RQhdrHandler.SYS_TXID = "300011"; // 查询,主机启动原交易码
     retrieveData.RQhdrHandler.TX_OUNO = organNO;
     retrieveData.RQhdrHandler.TEL_ID = tellerNO;
     retrieveData.RQhdrHandler.TX_MODE = "0";
     retrieveData.RQhdrHandler.TX_DTE = tradeDate.ToString("yyyy-MM-dd");
     retrieveData.RQhdrHandler.SRV_JNO = CommonDataHelper.SpaceString(12);
     retrieveData.RQhdrHandler.SRV_REV_JNO = CommonDataHelper.SpaceString(12);
     retrieveData.RQhdrHandler.HOST_JNO = CommonDataHelper.SpaceString(11);
     try
     {
         return PreProcessReqMsg(retrieveData, ref codemsg);
     }
     catch (Exception ex)
     {
         throw new Exception(MESSAGE_ENCODE_EXCEPTION, ex);
     }
 }