public PaperDetailViewModel GetPaperDownloadUrl(string orderNumber, string UserGuid) { PaperDetailViewModel paperDetailViewModel = new PaperDetailViewModel(); PayPaperDAL payPaperDAL = new PayPaperDAL(); DataTable paperDetail = payPaperDAL.SearchPaperPath(orderNumber, UserGuid); paperDetailViewModel.detail = paperDetail.toList <PaperInfo>(); return(paperDetailViewModel); }
public bool DeleteTimeOutNoPayData() { PayPaperDAL payPaperDAL = new PayPaperDAL(); int result = payPaperDAL.DeleteTimeOutNoPayData(); if (result >= 1) { return(true); } else { return(false); } }
public bool AddPayCountNum(string transaction_id, string out_trade_no) { PayPaperDAL payPaperDAL = new PayPaperDAL(); int result = payPaperDAL.AddPayCountNum(transaction_id, out_trade_no); if (result >= 1) { return(true); } else { return(false); } }
public bool UpdateBusiness(string transaction_id, string out_trade_no) { PayPaperDAL payPaperDAL = new PayPaperDAL(); int result = payPaperDAL.UpdateBusiness(transaction_id, out_trade_no); if (result >= 1) { return(true); } else { return(false); } }