public IList <string> Selmoney_come() { using (var helper = new SqlHelper()) { List <string> list = new InternalB2BFinance(helper).Selmoney_come(); return(list); } }
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); } }
public Modle.B2b_finance_paytype FinancePayType(int comid) { using (var helper = new SqlHelper()) { var pro = new InternalB2BFinance(helper).FinancePayType(comid); return(pro); } }
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); } }
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); } }
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; } } }
//获取支付订单是否正确 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; } } }
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; } } }
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; } } }
//获取分销商名称 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; } } }
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; } } }
//购物车订单 查询 支付订单 编号 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; } } }
//查询手续费金额 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; } } }
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; } } }
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; } } }