예제 #1
0
        public List <IES.CC.Model.Analysis.StudentActiveExport> DataGet2()
        {
            int ocid = Convert.ToInt32(Request["OCID"]);

            IES.CC.Model.Analysis.Analysis model = new IES.CC.Model.Analysis.Analysis {
                OCID = ocid, TopCount = 1000
            };
            var list = new AnalysisBLL().StudentLiveness_Get(model);
            List <IES.CC.Model.Analysis.StudentActiveExport> exportlist = new List <IES.CC.Model.Analysis.StudentActiveExport>();

            for (var i = 0; i < list.Count; i++)
            {
                IES.CC.Model.Analysis.StudentActiveExport m = new IES.CC.Model.Analysis.StudentActiveExport();
                m.UserName      = list[i].UserName;
                m.FileReadCount = list[i].FileReadCount;
                m.ForumCount    = list[i].ForumCount;
                m.TestCount     = list[i].TestCount;
                m.AllCount      = list[i].AllCount;
                exportlist.Add(m);
            }
            return(exportlist);
        }
예제 #2
0
 public List<IES.CC.Model.Analysis.StudentActiveExport> DataGet2()
 {
     int ocid = Convert.ToInt32(Request["OCID"]);
     IES.CC.Model.Analysis.Analysis model = new IES.CC.Model.Analysis.Analysis { OCID = ocid,TopCount = 1000 };
     var list = new AnalysisBLL().StudentLiveness_Get(model);
     List<IES.CC.Model.Analysis.StudentActiveExport> exportlist = new List<IES.CC.Model.Analysis.StudentActiveExport>();
     for (var i = 0; i < list.Count; i++)
     {
         IES.CC.Model.Analysis.StudentActiveExport m = new IES.CC.Model.Analysis.StudentActiveExport();
         m.UserName = list[i].UserName;
         m.FileReadCount = list[i].FileReadCount;
         m.ForumCount = list[i].ForumCount;
         m.TestCount = list[i].TestCount;
         m.AllCount = list[i].AllCount;
         exportlist.Add(m);
     }
     return exportlist;
 }