From 18188a3d279d90884d6ec32973b61945c46814eb Mon Sep 17 00:00:00 2001 From: hyunho Date: Thu, 3 Dec 2020 06:33:30 +0000 Subject: [PATCH] --- BO/Controllers/croomController.cs | 7 ++++--- Dao/MyBatis/Maps/CM.xml | 2 +- Dao/MyBatis/Maps/Lect.xml | 9 ++++++++- Model/CM.cs | 21 +++++++++++++++++++++ 4 files changed, 34 insertions(+), 5 deletions(-) diff --git a/BO/Controllers/croomController.cs b/BO/Controllers/croomController.cs index 7e839cf..70ea2a7 100644 --- a/BO/Controllers/croomController.cs +++ b/BO/Controllers/croomController.cs @@ -163,10 +163,11 @@ namespace NP.BO.Controllers { vm.Lects = Dao.Get("lect.lects.att",ht); return ExportExcel( - new String[] { "분류", "고객사", "신청자이름", "신청자ID", "교육생이름", "교육생ID", "교육생이메일", "전화번호", "휴대폰번호", "신청일", "수강상태", "결제상태", "사업장과의관계", "직위", "부서", "공정거래업무경력", "연합회교육이력" }, - new String[] { "isjoinname", "asname", "cnoname", "cnoid", "username", "userid", "email", "telno", "mobile", "cdtymd", "statusname", "pstatusname", "assignuser", "ccpositionname", "depart", "ckfcfyear", "edu" }, + new String[] { "고객사", "이름","직위", "교육생ID", "이메일", "전화번호", "휴대폰번호", "신청일", "수강상태", "결제상태" , "교육일", "기술인구분","직무분야","교육목적","등급"}, + new String[] { "asname", "username", "uduty", "userid", "email", "telno", "mobile", "cdtymd", "statusname", "pstatusname", "estartstring", "typemanname", "typejobname", "typeeduname", "typegradename" }, vm.Lects, - "출석부"); + "신청자명단"); + } else { diff --git a/Dao/MyBatis/Maps/CM.xml b/Dao/MyBatis/Maps/CM.xml index 6ed86c3..043565e 100644 --- a/Dao/MyBatis/Maps/CM.xml +++ b/Dao/MyBatis/Maps/CM.xml @@ -1903,7 +1903,7 @@ from users a left outer join lect b on a.userno = b.userno where a.userno = #userno# - and b.cmno = #cmno# and b.iscomplete = 1 + and b.cmno = #cmno# and (b.iscomplete = 1 or b.iscomplete is null)