diff --git a/Dao/MyBatis/Maps/CM.xml b/Dao/MyBatis/Maps/CM.xml index e0e1637..8107970 100644 --- a/Dao/MyBatis/Maps/CM.xml +++ b/Dao/MyBatis/Maps/CM.xml @@ -1701,5 +1701,13 @@ cmno=#cmno# + \ No newline at end of file diff --git a/FO/Controllers/HomeController.cs b/FO/Controllers/HomeController.cs index e9980eb..f97ebf8 100644 --- a/FO/Controllers/HomeController.cs +++ b/FO/Controllers/HomeController.cs @@ -31,7 +31,8 @@ namespace NP.FO.Controllers ViewBag.POPUPXS = CookieGet("popup", ""); ViewBag.IsMain = true; vm.Datas = Dao.Get("site.main", new System.Collections.Hashtable() { {"offcode", OffCode }, { "oncode", OnCode} }); - + vm.CMs = Dao.Get("cm.cgetc", new System.Collections.Hashtable() { { "cgcode", "2" } });//cgcode = 기타교육 // 기타교육 cgcode 바뀌면 파라미터도 변경해야함 + ViewBag.OnCode1 = OnCode1; return View(vm); } diff --git a/FO/Views/Home/Index.cshtml b/FO/Views/Home/Index.cshtml index 2d8c37b..c03dc4d 100644 --- a/FO/Views/Home/Index.cshtml +++ b/FO/Views/Home/Index.cshtml @@ -2,7 +2,7 @@