/// <summary>
        /// 查询客户接口
        /// </summary>
        /// <param name="tellerNO">操作柜员号</param>
        /// <param name="organNO">操作柜员所属机构号</param>
        /// <param name="tradeDate">业务发生时间</param>
        /// <param name="internalID">核心客户内码</param>        
        public static Guid RetrieveCstm(String tellerNO, String organNO, DateTime tradeDate, String internalID, ref byte[] codemsg)
        {
            RetrieveCstmData retrieveData = new RetrieveCstmData();
            retrieveData.RQDTL.CUS_CDE = CommonDataHelper.FillSpecifyWidthString(internalID, RetrieveCstmRQDTL.TOTAL_WIDTH);
            retrieveData.RQhdrHandler.SYS_TXID = "300012"; // 查询,主机启动原交易码
            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);
        }
 /// <summary>
 /// 查询客户接口
 /// </summary>
 /// <param name="tellerNO">操作柜员号</param>
 /// <param name="organNO">操作柜员所属机构号</param>
 /// <param name="tradeDate">业务发生时间</param>
 /// <param name="internalID">核心客户内码</param>        
 public static Guid RetrieveCstm(String tellerNO, String organNO, DateTime tradeDate, String internalID, ref byte[] codemsg)
 {
     RetrieveCstmData retrieveData = new RetrieveCstmData();
     retrieveData.RQDTL.CUS_CDE = CommonDataHelper.FillSpecifyWidthString(internalID, RetrieveCstmRQDTL.TOTAL_WIDTH);
     retrieveData.RQhdrHandler.SYS_TXID = "300012"; // 查询,主机启动原交易码
     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);
     }
 }