diff --git a/BO/Controllers/ccController.cs b/BO/Controllers/ccController.cs index 3b75b13..19ccdbd 100644 --- a/BO/Controllers/ccController.cs +++ b/BO/Controllers/ccController.cs @@ -76,7 +76,7 @@ namespace NP.BO.Controllers public ActionResult homesemployess(NP.Model.VMCC vm) { - vm.Boards = InitM(); + vm.Boards2 = InitM(); var ht = SetHash(vm); if (SUserInfo.IsSiteAdmin) { @@ -93,15 +93,15 @@ namespace NP.BO.Controllers { vm.BMOs = Dao.Get("board.bmos", GetInt(vm.stringval2)); } - ht.Add("bmno", "13"); + ht.Add("bmno", vm.stringval2); //ht.Add("opno", vm.stringval3); //ht.Add("scc", vm.stringval4); - vm.Boards = Dao.Get("board.bs", ht); - vm.pagetotalcount = GetCount(vm.Boards.FirstOrDefault()); - if (vm.Boards.Count() > 0) + vm.Boards2 = Dao.Get("board.bs", ht); + vm.pagetotalcount = GetCount(vm.Boards2.FirstOrDefault()); + if (vm.Boards2.Count() > 0) { - vm.Boards2 = Dao.Get("board.bcmt.cnt", new System.Collections.Hashtable() { { "bnos", string.Join(",", vm.Boards.Select(s => s.bno)) } }); - foreach (var d in vm.Boards) + vm.Boards2 = Dao.Get("board.bcmt.cnt", new System.Collections.Hashtable() { { "bnos", string.Join(",", vm.Boards2.Select(s => s.bno)) } }); + foreach (var d in vm.Boards2) { d.ccount = vm.Boards2.Where(w => w.bno == d.bno).First().ccount; } @@ -135,10 +135,10 @@ namespace NP.BO.Controllers vm.pagetotalcount = GetCount(vm.Boards.FirstOrDefault()); if (vm.Boards.Count() > 0) { - vm.Boards2 = Dao.Get("board.bcmt.cnt", new System.Collections.Hashtable() { { "bnos", string.Join(",", vm.Boards.Select(s => s.bno)) } }); + vm.Boards = Dao.Get("board.bcmt.cnt", new System.Collections.Hashtable() { { "bnos", string.Join(",", vm.Boards.Select(s => s.bno)) } }); foreach (var d in vm.Boards) { - d.ccount = vm.Boards2.Where(w => w.bno == d.bno).First().ccount; + d.ccount = vm.Boards.Where(w => w.bno == d.bno).First().ccount; } } return View(vm); diff --git a/BO/Views/Shared/Partial/ExcelCommentBox.cshtml b/BO/Views/Shared/Partial/ExcelCommentBox.cshtml index 0131c00..77ad801 100644 --- a/BO/Views/Shared/Partial/ExcelCommentBox.cshtml +++ b/BO/Views/Shared/Partial/ExcelCommentBox.cshtml @@ -60,7 +60,7 @@ margin-left: 1px; } - +@**@ } \ No newline at end of file diff --git a/Dao/MyBatis/Maps/board.xml b/Dao/MyBatis/Maps/board.xml index 5c2ac09..a58d024 100644 --- a/Dao/MyBatis/Maps/board.xml +++ b/Dao/MyBatis/Maps/board.xml @@ -130,7 +130,8 @@ ,e.asname ,c.bmno,c.bmname,c.isuseopening,c.isreply,c.bmtype ,f.opname - ,b.cno,b.bno,b.pbno,b.subject,b.istop,b.issecr,b.cdt,d.username cnoname,d.userid cnoid,b.rcount,b.rpcount,b.fgno,b.fgnothumb,case when #getcontents# is null then '' else b.contents end contents + ,b.cno,b.bno,b.pbno,b.subject,b.istop,b.issecr,b.cdt,d.username cnoname,d.userid cnoid + ,b.rcount,b.rpcount,b.fgno,b.fgnothumb,case when #getcontents# is null then '' else b.contents end contents ,d.usertype ,g.fileurl from ( diff --git a/FO/Views/Course/SmartSearch.cshtml b/FO/Views/Course/SmartSearch.cshtml index 7588608..82faa81 100644 --- a/FO/Views/Course/SmartSearch.cshtml +++ b/FO/Views/Course/SmartSearch.cshtml @@ -382,12 +382,13 @@ } function chkLect() { + const onetwo; if (capResult.code == 1000) { if (capResult.obj == 0) { checkLectIsComplete(_cmno); } else { - msg("이 교육은 아래의 사유 중 하나에 해당되어 신청되지 않는 교육입니다.

1. 선택한 교육목적으로 인정되지 않는 경우
2. 이미 신청 또는 수료한 교육과 함께 수료하면 인정이 되지 않는 경우

따라서 현재 화면에 나와있는 다른 교육으로 신청하여 주시기 바랍니다.

문의 : 1544 - 7660"); + msg("이 교육은 아래의 사유 중 하나에 해당되어 신청되지 않는 교육입니다.

    -    선택한 교육목적으로 인정되지 않는 경우
    -    이미 신청 또는 수료한 교육과 함께 수료하면 인정이 되지 않는 경우


따라서 현재 화면에 나와있는 다른 교육으로 신청하여 주시기 바랍니다.

문의 : 1544 - 7660"); } } else { diff --git a/FO/Views/Shared/Partial/MobileChk.cshtml b/FO/Views/Shared/Partial/MobileChk.cshtml index a8afe15..6fb85ce 100644 --- a/FO/Views/Shared/Partial/MobileChk.cshtml +++ b/FO/Views/Shared/Partial/MobileChk.cshtml @@ -11,7 +11,7 @@

인증요청한 휴대번호 :

-

핸드폰으로 전송된 인증번호 6자리를 입력하신 후 확인버튼을 눌러주세요.

+

카카오톡으로 전송된 인증번호 6자리를 입력하신 후 확인버튼을 눌러주세요.
※ 카카오톡 회원이 아니신 분들은 핸드폰 문자메세지로 전송됩니다.