public ActionResult DownloadMigrate(DateTime?startTime      = null, DateTime?endTime = null,
                                            string userId           = null,
                                            MigrateType MigrateType = MigrateType.To)
        {
            var parameter = new UserEvaluationParameter
            {
                StartTime   = startTime,
                EndTime     = endTime,
                UserID      = userId,
                MigrateType = MigrateType
            };
            var          list     = Core.UserEvaluationManager.Search(parameter);
            IWorkbook    workbook = ExcelManager.Save2(list, WinTypeHelper.Dict);
            MemoryStream ms       = new MemoryStream();

            workbook.Write(ms);
            ms.Flush();
            byte[] fileContents = ms.ToArray();
            return(File(fileContents, "application/ms-excel", "转移.xls"));
        }
        public ActionResult Migrate(
            DateTime?startTime      = null, DateTime?endTime = null,
            string userId           = null,
            MigrateType MigrateType = MigrateType.To,
            int page = 1, int rows = 20)
        {
            var parameter = new UserEvaluationParameter
            {
                StartTime   = startTime,
                EndTime     = endTime,
                UserID      = userId,
                MigrateType = MigrateType,
                Page        = new PageParameter(page, rows)
            };

            ViewBag.List      = Core.UserEvaluationManager.Search(parameter);
            ViewBag.UserIDs   = Core.UserEvaluationManager.GetUserIDs();
            ViewBag.Parameter = parameter;
            return(View());
        }