diff --git a/BO/Controllers/croomController.cs b/BO/Controllers/croomController.cs index af35e77..7420d5b 100644 --- a/BO/Controllers/croomController.cs +++ b/BO/Controllers/croomController.cs @@ -1008,9 +1008,7 @@ namespace NP.BO.Controllers { vm.Completions = InitM(); vm.CGs = Dao.Get("cm.cgs", new System.Collections.Hashtable() { { "isuse", 1 }, { "isdel", 0 } }); - vm.ComCodes = GetComCodes("typeman,typeedu,typegrade,typejob,studyplace"); - vm.stringval8 = vm.stringval8 ?? DateTime.Now.AddMonths(-1).ToString("yyyy-MM-01"); - vm.stringval9 = vm.stringval9 ?? DateTime.Now.AddMonths(1).ToString("yyyy-MM-01"); + vm.ComCodes = GetComCodes("typeman,typeedu,typegrade,typejob,studyplace"); var ht = SetHash(vm); ht.Add("tyear", vm.stringval); @@ -1020,8 +1018,8 @@ namespace NP.BO.Controllers ht.Add("typeman", vm.stringval5); ht.Add("studyplace", vm.stringval6); ht.Add("typejob", vm.stringval7); - ht.Add("sdate", vm.stringval8); - ht.Add("edate", vm.stringval9); + ht.Add("scompletetime", vm.stringval8); + ht.Add("ecompletetime", vm.stringval9); ht.Add("typegrade", vm.stringval10); ht.Add("typeedu", vm.stringval11); diff --git a/BO/Views/croom/completions.cshtml b/BO/Views/croom/completions.cshtml index f496857..1bdb4f1 100644 --- a/BO/Views/croom/completions.cshtml +++ b/BO/Views/croom/completions.cshtml @@ -81,7 +81,7 @@ 검색단어
- @Html.Partial("./Partial/Select", null, new ViewDataDictionary { { "valuetext", "username:이름;userpno:주민등록번호;completeno:수료번호;asname:업체명;brno:사업자등록번호" }, { "name", "searchtype" }, { "selected", Model.searchtype }, { "style", "width: 100%" }, { "df", ":-유형선택" } }) + @Html.Partial("./Partial/Select", null, new ViewDataDictionary { { "valuetext", "userid:ID;username:이름;userpno:주민등록번호;completeno:수료번호;asname:업체명;brno:사업자등록번호" }, { "name", "searchtype" }, { "selected", Model.searchtype }, { "style", "width: 100%" }, { "df", ":-유형선택" } })
diff --git a/Dao/MyBatis/Maps/CRoom.xml b/Dao/MyBatis/Maps/CRoom.xml index bc3ecf3..e702b32 100644 --- a/Dao/MyBatis/Maps/CRoom.xml +++ b/Dao/MyBatis/Maps/CRoom.xml @@ -1547,12 +1547,13 @@ left outer join pplog pp on pp.pplno = p.pplno where l.iscomplete = 1 l.lectno = #lectno# - l.sdate >= #sdate# - l.edate <= #edate# + l.completetime >= #scompletetime# + l.completetime <= #ecompletetime# t.tyear=#tyear# cg.cgno=#cgno# cg.pcgno=#pcgno# cm.cshape=#cshape# + cm.studyplace=#studyplace# pp.typeman=#typeman# pp.edukind=#edukind# pp.typeedu=#typeedu# @@ -1560,6 +1561,7 @@ pp.typejob=#typejob# + u.userid like concat('%',#searchtext#,'%') u.username like concat('%',#searchtext#,'%') u.userpno = HEX(AES_ENCRYPT(replace(#searchtext#,'-',''), ))