마이페이지>수강과정 : 종료날짜체크 where 절 제거

This commit is contained in:
lch 2021-06-11 07:38:04 +00:00
parent 4c1bb1bd7b
commit 340b99f3a3
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ namespace NP.FO.Controllers
public ActionResult Lecture(VMMy vm) public ActionResult Lecture(VMMy vm)
{ {
ViewBag.reporturl = GetConfig("reporturl"); ViewBag.reporturl = GetConfig("reporturl");
vm.Lects = Dao.Get<Lect>("lect.mylectures", new System.Collections.Hashtable() { { "userno", SUserInfo.UserNo }, { "cgcode", vm.intval > 0 ? TestCode3 : null }, { "cshape", vm.stringval } }).Where(x=>x.edate >= DateTime.Now).ToList(); vm.Lects = Dao.Get<Lect>("lect.mylectures", new System.Collections.Hashtable() { { "userno", SUserInfo.UserNo }, { "cgcode", vm.intval > 0 ? TestCode3 : null }, { "cshape", vm.stringval } });
return View(vm); return View(vm);
} }
public ActionResult CertPrint(VMMy vm) public ActionResult CertPrint(VMMy vm)