/// <summary> /// 确认订单 /// </summary> /// <param name="yylsh">银行流水号</param> /// <param name="yydm">银行代码</param> /// <param name="yhmc">银行名称</param> /// <param name="yhlsh">医院流水号</param> /// <param name="czje">充值金额</param> /// <param name="tkje">退款给金额</param> /// <param name="czsj">操作时间</param> /// <param name="zzlx">充值类型 01-银联充值</param> /// <returns></returns> public XmlDocument FinishOrder(long yylsh, string yhlsh, string sjczzt, DateTime czsj, string payType) { XmlDocument doc = new XmlDocument(); try { string msg = ""; PaymentDB pdb = new PaymentDB(); int ret = pdb.DB_FinishOrder(yylsh, yhlsh, sjczzt, czsj, payType, out msg); if (ret == 0) { doc = ReplyXmlDoc.GetSuccessXML(ret, msg); } else { doc = ErrorReturnXml(ret, msg); } } catch (Exception ex) { doc = ReplyXmlDoc.GetExceptionXML(AppUtils.Default_Exception_Code, ex); } return(doc); }