/// <summary> /// 更新赠品可请购余额 /// </summary> /// <param name="AccountMonth"></param> /// <param name="Client"></param> /// <param name="Brand"></param> /// <param name="Classify"></param> /// <param name="ChangeAmount"></param> /// <param name="Staff"></param> /// <returns></returns> public static int ChangeBalanceAmount(int AccountMonth, int Client, int Brand, int Classify, decimal ChangeAmount, int Staff) { ORD_GiftApplyAmountDAL dal = (ORD_GiftApplyAmountDAL)DataAccess.CreateObject(DALClassName); return(dal.ChangeBalanceAmount(AccountMonth, Client, Brand, Classify, ChangeAmount, Staff)); }
/// <summary> /// 获取指定客户赠品可请购余额 /// </summary> /// <param name="AccountMonth"></param> /// <param name="Client"></param> /// <param name="Brand"></param> /// <param name="Classify"></param> /// <returns></returns> public static decimal GetBalanceAmount(int AccountMonth, int Client, int Brand, int Classify) { ORD_GiftApplyAmountDAL dal = (ORD_GiftApplyAmountDAL)DataAccess.CreateObject(DALClassName); return(dal.GetBalanceAmount(AccountMonth, Client, Brand, Classify)); }
public ORD_GiftApplyAmountBLL(int id, bool bycache) : base(DALClassName) { _dal = (ORD_GiftApplyAmountDAL)_DAL; FillModel(id, bycache); }
///<summary> ///ORD_GiftApplyAmountBLL ///</summary> public ORD_GiftApplyAmountBLL() : base(DALClassName) { _dal = (ORD_GiftApplyAmountDAL)_DAL; _m = new ORD_GiftApplyAmount(); }
public DataTable GetChangeHistory() { ORD_GiftApplyAmountDAL dal = (ORD_GiftApplyAmountDAL)DataAccess.CreateObject(DALClassName); return(Tools.ConvertDataReaderToDataTable(dal.GetChangeHistory(this.Model.AccountMonth, this.Model.Client, this.Model.Brand, this.Model.Classify))); }
public static DataTable GetUsedInfo(int AccountMonth, int OrganizeCity) { ORD_GiftApplyAmountDAL dal = (ORD_GiftApplyAmountDAL)DataAccess.CreateObject(DALClassName); return(Tools.ConvertDataReaderToDataTable(dal.GetUsedInfo(AccountMonth, OrganizeCity))); }
/// <summary> /// 计算各经销商下月可请购赠品金额 /// </summary> /// <param name="AccountMonth"></param> /// <param name="Client"></param> /// <returns></returns> public static int ComputAvailableAmount(int AccountMonth, int Client) { ORD_GiftApplyAmountDAL dal = (ORD_GiftApplyAmountDAL)DataAccess.CreateObject(DALClassName); return(dal.ComputAvailableAmount(AccountMonth, Client)); }