BLL/CheckoutMethodBll.cs

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using System.Data;
using Common;
using DA;
namespace BLL
{
   public class CheckoutMethodBll
    {
        string sql;
        SqlHelpers sqlh;
        Common.COpenBills copenbills = new COpenBills();
        CheckoutMethod checkoutmethod = new CheckoutMethod();
        DA.CheckoutMethodDal checkoutmethodDal = new CheckoutMethodDal();

        #region 分开汇总现金支付,会员卡支付,餐卷支付,银行卡支付,团购支付金额
        /// <summary>
        /// 汇总现金支付的金额
        /// </summary>
        /// <param name="checkoutmethod"></param>
        /// <returns></returns>
        public DataSet CashPayment(CheckoutMethod checkoutmethod)
        {
            return checkoutmethodDal.CashPayment(checkoutmethod);
        }
        /// <summary>
        /// 汇总会员卡支付的金额
        /// </summary>
        /// <param name="checkoutmethod"></param>
        /// <returns></returns>
        public DataSet MSCardPayment(CheckoutMethod checkoutmethod)
        {
            return checkoutmethodDal.MSCardPayment(checkoutmethod);
        }
        /// <summary>
        /// 汇总银行卡支付的金额
        /// </summary>
        /// <param name="checkoutmethod"></param>
        /// <returns></returns>
        public DataSet BankCardPayment(CheckoutMethod checkoutmethod)
        {
            return checkoutmethodDal.BankCardPayment(checkoutmethod);
        }
        /// <summary>
        /// 汇总餐卷支付的金额
        /// </summary>
        /// <param name="checkoutmethod"></param>
        /// <returns></returns>
        public DataSet VoucherPayment(CheckoutMethod checkoutmethod)
        {
            return checkoutmethodDal.VoucherPayment(checkoutmethod);
        }
        /// <summary>
        /// 汇总团购支付的金额
        /// </summary>
        /// <param name="checkoutmethod"></param>
        /// <returns></returns>
后面还有 53 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。