예제 #1
0
        /// <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)));
        }
예제 #2
0
        public static int Submit(int ForcastID, int TaskID)
        {
            SVM_ClassifyForcastDAL dal = (SVM_ClassifyForcastDAL)DataAccess.CreateObject(DALClassName);

            return(dal.Submit(ForcastID, TaskID));
        }
예제 #3
0
        public static decimal GetForcastSumPrice(int ForcastID)
        {
            SVM_ClassifyForcastDAL dal = (SVM_ClassifyForcastDAL)DataAccess.CreateObject(DALClassName);

            return(dal.GetForcastSumPrice(ForcastID));
        }
예제 #4
0
        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));
        }
예제 #5
0
 public SVM_ClassifyForcastBLL(int id, bool bycache)
     : base(DALClassName)
 {
     _dal = (SVM_ClassifyForcastDAL)_DAL;
     FillModel(id, bycache);
 }
예제 #6
0
 ///<summary>
 ///SVM_ClassifyForcastBLL
 ///</summary>
 public SVM_ClassifyForcastBLL()
     : base(DALClassName)
 {
     _dal = (SVM_ClassifyForcastDAL)_DAL;
     _m   = new SVM_ClassifyForcast();
 }
예제 #7
0
        public static void RefreshAvgSales(int ForcastID)
        {
            SVM_ClassifyForcastDAL dal = (SVM_ClassifyForcastDAL)DataAccess.CreateObject(DALClassName);

            dal.RefreshAvgSales(ForcastID);
        }