/// <summary> /// 取消订单 /// </summary> /// <param name="yylsh">医院流水号</param> /// <returns></returns> public XmlDocument CancelOrder(long yylsh) { XmlDocument doc = new XmlDocument(); try { string msg = ""; PaymentDB pdb = new PaymentDB(); int ret = pdb.DB_CancelOrder(yylsh, 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); }