diff --git a/BO/BO.csproj b/BO/BO.csproj index 30d4ff9..43ff4d8 100644 --- a/BO/BO.csproj +++ b/BO/BO.csproj @@ -674,6 +674,7 @@ + diff --git a/BO/Controllers/croomController.cs b/BO/Controllers/croomController.cs index 70ea2a7..c486f9c 100644 --- a/BO/Controllers/croomController.cs +++ b/BO/Controllers/croomController.cs @@ -831,6 +831,52 @@ namespace NP.BO.Controllers vm.pagetotalcount = GetCount(vm.Lects.FirstOrDefault()); return View(vm); } + + public ActionResult documentspast(VMCRoom vm) + { + //vm.CMs = InitM(); + //var ht = SetHash(vm); + //ht.Add("pcgno", vm.stringval); + + //ht.Add("cgno", vm.stringval2); + //ht.Add("cshape", vm.stringval3); + + //ht.Add("typeman", vm.stringval4); + //ht.Add("typeedu", vm.stringval5); + //ht.Add("typegrade", vm.stringval6); + //ht.Add("typejob", vm.stringval7); + //ht.Add("studyplace", vm.stringval8); + + //ht.Add("cname", vm.stringval9); + //ht.Add("sstime", vm.stringval10); + //ht.Add("setime", vm.stringval11); + //ht.Add("tyear", vm.stringval12); + //ht.Add("tseq", vm.stringval13); + //ht.Add("ismaster", vm.viewidx); + //ht.Add("listcolumn", 1); + //vm.CMs = Dao.Get("cm.cms", ht); + //if (vm.viewidx == 0 && vm.CMs.Count() > 0) + //{ + // //수강신청 수 카운팅 + // vm.Datas = Dao.Get("cm.count.cmlect", new System.Collections.Hashtable() { { "cmnos", string.Join(",", vm.CMs.Select(s => s.cmno)) }, { "ischanged", 0 } }); + //} + //vm.pagetotalcount = GetCount(vm.CMs.FirstOrDefault()); + //vm.addstringval = "x"; + //if (vm.CMs.Count() > 0) + //{ + // vm.addstringval = string.Join(",", Dao.Get("cm.cm.checklect", string.Join(",", vm.CMs.Select(s => s.cmno))).Select(s => s.cmno)); + // if (string.IsNullOrEmpty(vm.addstringval)) + // { + // vm.addstringval = "x"; + // } + // else + // { + // vm.addstringval = "," + vm.addstringval + ","; + // } + //} + //return View("cms", vm); + return View(vm); + } } } diff --git a/BO/Views/croom/documentspast.cshtml b/BO/Views/croom/documentspast.cshtml new file mode 100644 index 0000000..a97ffd7 --- /dev/null +++ b/BO/Views/croom/documentspast.cshtml @@ -0,0 +1,17 @@ + +@{ + Layout = null; +} + + + + + + + documentspast + + +
+
+ +