public async Task<ActionResult> MentoringTotalReportListByComp(SelectedMentorTotalReportParmModel param, string curPage)
        {
            ViewBag.LeftMenu = Global.Report;

            string excutorId = null;

            //사업담당자 일 경우 담당 사업만 조회
            if (Session[Global.UserDetailType].ToString() == "M")
            {
                excutorId = Session[Global.LoginID].ToString();
            }

            int mngCompSn = int.Parse(Session[Global.CompSN].ToString());

            //사업년도 DownDown List Data
            var bizWorkYearDropDown = MakeBizYear(2015);
            SelectList bizWorkYear = new SelectList(bizWorkYearDropDown, "Value", "Text");
            ViewBag.SelectBizWorkYearList = bizWorkYear;

            //사업 DropDown List Data
            var bizWorkDropDown = await MakeBizWork(mngCompSn, excutorId, param.BizWorkYear);
            SelectList bizList = new SelectList(bizWorkDropDown, "BizWorkSn", "BizWorkNm");
            ViewBag.SelectBizWorkList = bizList;

            //기업 DropDwon List Data
            var compInfoDropDown = await MakeBizComp(mngCompSn, excutorId, param.BizWorkSn, param.BizWorkYear);
            SelectList compInfoList = new SelectList(compInfoDropDown, "CompSn", "CompNm");
            ViewBag.SelectCompInfoList = compInfoList;

            //검색조건을 유지하기 위한
            ViewBag.SelectParam = param;

            ////종합보고서 조회
            //var listscMentoringTotalReport = await _scMentoringTotalReportService.GetMentoringTotalReportAsync(mngCompSn, excutorId, param.BizWorkYear, param.BizWorkSn, param.CompSn);

            ////맨토링 종합 레포트 정보 조회
            //var listTotalReportView =
            //   Mapper.Map<List<MentoringTotalReportViewModel>>(listscMentoringTotalReport);

            //int pagingSize = int.Parse(ConfigurationManager.AppSettings["PagingSize"]);
            //return View(new StaticPagedList<MentoringTotalReportViewModel>(listTotalReportView.ToPagedList(int.Parse(curPage ?? "1"), pagingSize), int.Parse(curPage ?? "1"), pagingSize, listTotalReportView.Count));


            //종합보고서 조회
            int pagingSize = int.Parse(ConfigurationManager.AppSettings["PagingSize"]);
            var pagedListMentoringTotalReport = await _scMentoringTotalReportService.GetPagedListMentoringTotalReportByMngComp(int.Parse(curPage ?? "1"), pagingSize, mngCompSn, excutorId, param.BizWorkYear, param.BizWorkSn, param.CompSn, null);

            //맨토링 종합 레포트 정보 조회
            var listTotalReportView =
               Mapper.Map<List<MentoringTotalReportViewModel>>(pagedListMentoringTotalReport);


            return View(new StaticPagedList<MentoringTotalReportViewModel>(listTotalReportView, int.Parse(curPage ?? "1"), pagingSize, pagedListMentoringTotalReport.TotalItemCount));
        }
        public async Task<ActionResult> MentoringTotalReportDetail(int totalReportSn, SelectedMentorTotalReportParmModel selectParam, string searchType)
        {
            ViewBag.LeftMenu = Global.Report;

            var scMentoringTotalReport = await _scMentoringTotalReportService.GetMentoringTotalReportById(totalReportSn);

            var listscFileInfo = scMentoringTotalReport.ScMentoringTrFileInfoes.Select(mtfi => mtfi.ScFileInfo).Where(fi => fi.Status == "N");

            var listFileContent =
               Mapper.Map<List<FileContent>>(listscFileInfo);

            var totalReportViewModel =
               Mapper.Map<MentoringTotalReportViewModel>(scMentoringTotalReport);

            totalReportViewModel.FileContents = listFileContent;

            //검색조건 유지를 위해
            ViewBag.SelectParam = selectParam;
            //호출한 탭으로 돌아가기 위해
            ViewBag.SearchType = searchType;

            return View(totalReportViewModel);
        }