////////////////////////////////////////////////////////////////////////////////////////////////////////////// /////////////// 交易开始 /////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////////////// private string ET0140() { try { XmlDocument doc1 = new XmlDocument(); BS30600004 b = new BS30600004();//实际为30600003 b.ApplicantAcctNo = xdoc.SelectSingleNode("//ebank//cust_account").InnerText.Trim(); b.BillType = xdoc.SelectSingleNode("//ebank//billType").InnerText.Trim(); b.BillClass = xdoc.SelectSingleNode("//ebank//billClass").InnerText.Trim(); b.AcptDt = xdoc.SelectSingleNode("//ebank//acptDt").InnerText.Trim().Replace("-", ""); b.DueDt = xdoc.SelectSingleNode("//ebank//dueDt").InnerText.Trim().Replace("-", ""); b.BillMoney = xdoc.SelectSingleNode("//ebank//billMoney").InnerText.Trim(); b.Remitter = xdoc.SelectSingleNode("//ebank//remitterCustName").InnerText.Trim(); b.RemitterAcctNo = xdoc.SelectSingleNode("//ebank//remitterCustAcct").InnerText.Trim(); b.RemitterBankName = xdoc.SelectSingleNode("//ebank//remitterCustBank").InnerText.Trim(); b.RemitterBankNo = xdoc.SelectSingleNode("//ebank//remitterCustBankNo").InnerText.Trim(); b.Payee = xdoc.SelectSingleNode("//ebank//payee").InnerText.Trim(); b.PayeeAcctNo = xdoc.SelectSingleNode("//ebank//payeeAcct").InnerText.Trim(); b.PayeeBankName = xdoc.SelectSingleNode("//ebank//payeeBank").InnerText.Trim(); b.PayeeBankNo = xdoc.SelectSingleNode("//ebank//payeeBankNo").InnerText.Trim(); b.Acceptor = xdoc.SelectSingleNode("//ebank//acceptor").InnerText.Trim(); b.AcceptorAcctNo = xdoc.SelectSingleNode("//ebank//acceptorAcct").InnerText.Trim(); b.AcceptorBankName = xdoc.SelectSingleNode("//ebank//acceptorBank").InnerText.Trim(); b.AcceptorBankNo = xdoc.SelectSingleNode("//ebank//acceptorBankNo").InnerText.Trim(); b.ForbidFlag = xdoc.SelectSingleNode("//ebank//protEndors").InnerText.Trim(); b.ConferNo = xdoc.SelectSingleNode("//ebank//conferNo").InnerText.Trim(); b.InvoiceNo = ""; b.Origin = "1"; if (BSET.BS30600004(b, nodeNo, trandType, ref doc1) == "error") { retSysError(errMsg); } else { xher.UpdateContent("/ebank/hostReturnCode", doc1.SelectSingleNode("//root//head//ErrorCode").InnerText.Trim()); xher.UpdateContent("/ebank/hostErrorMessage", doc1.SelectSingleNode("//root//head//ErrorMsg").InnerText.Trim()); if (doc1.SelectSingleNode("//root//head//ErrorCode").InnerText.Trim() == "000000") { xher = new XmlHelper(xdoc); xher.UpdateContent("/ebank/rgct_id", doc1.SelectSingleNode("//root//body//billId").InnerText.Trim()); xher.UpdateContent("/ebank/hostReturnCode", doc1.SelectSingleNode("//root//head//ErrorCode").InnerText.Trim()); xher.UpdateContent("/ebank/hostErrorMessage", doc1.SelectSingleNode("//root//head//ErrorMsg").InnerText.Trim()); } } return(formatRetStr(xher)); } catch (Exception ex) { return(retCatch(ex)); } }