Exemplo n.º 1
0
        public object GetTransStatisticsList(int LiveId, int AnalystId, string AnalystName, int AnalystType)
        {
            var TransStatisticsList = analystLiveBLL.GetTransStatisticsNum(AnalystId);
            var model = new AnalystLivePageModel();

            model.AnalystLive = TransStatisticsList;
            model.AnalystId   = AnalystId;
            model.AnalystName = AnalystName;
            model.AnalystType = AnalystType;
            return(new PageResult(null, model));
        }
Exemplo n.º 2
0
        public object GetEditAnalystLive(int LiveId, int AnalystId, string AnalystName, int AnalystType)
        {
            var analystLive         = analystLiveBLL.Get("LiveId", LiveId);
            var TransStatisticsList = analystLiveBLL.GetTransStatisticsNum(AnalystId);
            var model = new AnalystLivePageModel();

            model.AnalystLive             = analystLive;
            model.AnalystLive.BigNum      = TransStatisticsList.BigNum;
            model.AnalystLive.EmptyNum    = TransStatisticsList.EmptyNum;
            model.AnalystLive.ProfitNum   = TransStatisticsList.ProfitNum;
            model.AnalystLive.LossNum     = TransStatisticsList.LossNum;
            model.AnalystLive.SuccessRate = TransStatisticsList.SuccessRate;
            model.AnalystId   = AnalystId;
            model.AnalystName = AnalystName;
            model.AnalystType = AnalystType;
            return(new PageResult(null, model));
        }