This commit is contained in:
hyunho 2020-12-22 01:21:32 +00:00
parent d83ee62e75
commit b52b9d7c3f
3 changed files with 64 additions and 0 deletions

View File

@ -674,6 +674,7 @@
<Content Include="Views\cm\cmregeduschedule.cshtml" />
<Content Include="Views\croom\cmstandbylects.cshtml" />
<Content Include="Views\croom\Documents.cshtml" />
<Content Include="Views\croom\documentspast.cshtml" />
</ItemGroup>
<ItemGroup>
<Folder Include="App_Data\" />

View File

@ -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<CM>();
//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>("cm.cms", ht);
//if (vm.viewidx == 0 && vm.CMs.Count() > 0)
//{
// //수강신청 수 카운팅
// vm.Datas = Dao.Get<Data>("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.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);
}
}
}

View File

@ -0,0 +1,17 @@

@{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>documentspast</title>
</head>
<body>
<div>
</div>
</body>
</html>