Example #1
0
 public IList <string> Selmoney_come()
 {
     using (var helper = new SqlHelper())
     {
         List <string> list = new InternalB2BFinance(helper).Selmoney_come();
         return(list);
     }
 }
Example #2
0
        public List <Member_Imprest> ImprestList(int pageindex, int pagesize, int comid, out int totalcount, int mid = 0, string key = "")
        {
            using (var helper = new SqlHelper())
            {
                var list = new InternalB2BFinance(helper).ImprestList(pageindex, pagesize, comid, out totalcount, mid, key);

                return(list);
            }
        }
Example #3
0
        public Modle.B2b_finance_paytype FinancePayType(int comid)
        {
            using (var helper = new SqlHelper())
            {
                var pro = new InternalB2BFinance(helper).FinancePayType(comid);

                return(pro);
            }
        }
Example #4
0
        public List <B2b_Finance> Financecount(string comid, string stardate, string enddate)
        {
            using (var helper = new SqlHelper())
            {
                var list = new InternalB2BFinance(helper).Financecount(comid, stardate, enddate);

                return(list);
            }
        }
Example #5
0
        public List <B2b_Finance> FinancePageList(string comid, int pageindex, int pagesize, string key, out int totalcount, int channelcomid = 0, int oid = 0, string payment_type = "", string money_come = "", string starttime = "", string endtime = "")
        {
            using (var helper = new SqlHelper())
            {
                var list = new InternalB2BFinance(helper).FinancePageList(comid, pageindex, pagesize, key, out totalcount, channelcomid, oid, payment_type, money_come, starttime, endtime);

                return(list);
            }
        }
Example #6
0
 public int InsertOrUpdateFinancePayWX(B2b_finance_paytype payinfo)
 {
     using (var sql = new SqlHelper())
     {
         try
         {
             var internalData = new InternalB2BFinance(sql);
             int result       = internalData.InsertOrUpdateFinancePayWX(payinfo);
             return(result);
         }
         catch
         {
             throw;
         }
     }
 }
Example #7
0
 //获取支付订单是否正确
 public int huoqupayorder(int orderid, decimal price)
 {
     using (var sql = new SqlHelper())
     {
         try
         {
             var internalData = new InternalB2BFinance(sql);
             var result       = internalData.huoqupayorder(orderid, price);
             return(result);
         }
         catch
         {
             throw;
         }
     }
 }
Example #8
0
 public decimal ImprestCount(int comid)
 {
     using (var sql = new SqlHelper())
     {
         try
         {
             var     internalData = new InternalB2BFinance(sql);
             decimal result       = internalData.ImprestCount(comid);
             return(result);
         }
         catch
         {
             throw;
         }
     }
 }
Example #9
0
 public int InsertFinanceWithdraw(B2b_Finance payinfo)
 {
     using (var sql = new SqlHelper())
     {
         try
         {
             var internalData = new InternalB2BFinance(sql);
             int result       = internalData.InsertFinanceWithdraw(payinfo);
             return(result);
         }
         catch
         {
             throw;
         }
     }
 }
Example #10
0
 //获取分销商名称
 public string GetAgentNamebyorderid(int orderid)
 {
     using (var sql = new SqlHelper())
     {
         try
         {
             var internalData = new InternalB2BFinance(sql);
             var result       = internalData.GetAgentNamebyorderid(orderid);
             return(result);
         }
         catch
         {
             throw;
         }
     }
 }
Example #11
0
 public decimal GetChannelFinanceCount(int comid, int channelcomid)
 {
     using (var sql = new SqlHelper())
     {
         try
         {
             var     internalData = new InternalB2BFinance(sql);
             decimal result       = internalData.GetChannelFinanceCount(comid, channelcomid);
             return(result);
         }
         catch
         {
             throw;
         }
     }
 }
Example #12
0
 //购物车订单 查询 支付订单 编号
 public int GetPayidbyorderid(int Shopcartid)
 {
     using (var sql = new SqlHelper())
     {
         try
         {
             var internalData = new InternalB2BFinance(sql);
             int result       = internalData.GetPayidbyorderid(Shopcartid);
             return(result);
         }
         catch
         {
             throw;
         }
     }
 }
Example #13
0
 //查询手续费金额
 public decimal GetShouxufeiAmount(int orderid)
 {
     using (var sql = new SqlHelper())
     {
         try
         {
             var     internalData = new InternalB2BFinance(sql);
             decimal result       = internalData.GetShouxufeiAmount(orderid);
             return(result);
         }
         catch
         {
             throw;
         }
     }
 }
Example #14
0
 public decimal GetFinanceAmount(int comid, string payment_type)
 {
     using (var sql = new SqlHelper())
     {
         try
         {
             var     internalData = new InternalB2BFinance(sql);
             decimal result       = internalData.GetFinanceAmount(comid, payment_type);
             return(result);
         }
         catch
         {
             throw;
         }
     }
 }
Example #15
0
 public int WithdrawConf(int id, int comid, string remarks, int printscreen)
 {
     using (var sql = new SqlHelper())
     {
         try
         {
             var internalData = new InternalB2BFinance(sql);
             int result       = internalData.WithdrawConf(id, comid, remarks, printscreen);
             return(result);
         }
         catch
         {
             throw;
         }
     }
 }