Exemple #1
0
        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);
        }
Exemple #2
0
        public bool DeleteTimeOutNoPayData()
        {
            PayPaperDAL payPaperDAL = new PayPaperDAL();
            int         result      = payPaperDAL.DeleteTimeOutNoPayData();

            if (result >= 1)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Exemple #3
0
        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);
            }
        }
Exemple #4
0
        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);
            }
        }