/// <summary> /// 获取指定客户和月份的销量总额 /// </summary> /// <param name="OrganizeCity"></param> /// <param name="ClientID"></param> /// <param name="beginMonth"></param> /// <param name="endMonth"></param> /// <param name="ClientType"></param> /// <returns></returns> public static DataTable GetSummary(int OrganizeCity, int ClientID, int beginMonth, int endMonth, int ClientType) { SVM_ClassifyForcastDAL dal = (SVM_ClassifyForcastDAL)DataAccess.CreateObject(DALClassName); return(Tools.ConvertDataReaderToDataTable(dal.GetSummary(OrganizeCity, ClientID, beginMonth, endMonth, ClientType))); }
public static int Submit(int ForcastID, int TaskID) { SVM_ClassifyForcastDAL dal = (SVM_ClassifyForcastDAL)DataAccess.CreateObject(DALClassName); return(dal.Submit(ForcastID, TaskID)); }
public static decimal GetForcastSumPrice(int ForcastID) { SVM_ClassifyForcastDAL dal = (SVM_ClassifyForcastDAL)DataAccess.CreateObject(DALClassName); return(dal.GetForcastSumPrice(ForcastID)); }
public static int Init(int OrganizeCity, int AccountMonth, int ClientID, int StaffID) { SVM_ClassifyForcastDAL dal = (SVM_ClassifyForcastDAL)DataAccess.CreateObject(DALClassName); return(dal.Init(OrganizeCity, AccountMonth, ClientID, StaffID)); }
public SVM_ClassifyForcastBLL(int id, bool bycache) : base(DALClassName) { _dal = (SVM_ClassifyForcastDAL)_DAL; FillModel(id, bycache); }
///<summary> ///SVM_ClassifyForcastBLL ///</summary> public SVM_ClassifyForcastBLL() : base(DALClassName) { _dal = (SVM_ClassifyForcastDAL)_DAL; _m = new SVM_ClassifyForcast(); }
public static void RefreshAvgSales(int ForcastID) { SVM_ClassifyForcastDAL dal = (SVM_ClassifyForcastDAL)DataAccess.CreateObject(DALClassName); dal.RefreshAvgSales(ForcastID); }