2023-10-16 17:17 청소년 수정 사항 작업
This commit is contained in:
parent
7b8228f80f
commit
0eae9da2f3
@ -165,6 +165,7 @@ public class EgovQustnrManageController {
|
|||||||
, RedirectAttributes redirectAttributes
|
, RedirectAttributes redirectAttributes
|
||||||
, ModelMap model , HttpSession session) throws Exception {
|
, ModelMap model , HttpSession session) throws Exception {
|
||||||
|
|
||||||
|
try {
|
||||||
String sCmd = commandMap.get("cmd") == null ? "" : (String) commandMap.get("cmd");
|
String sCmd = commandMap.get("cmd") == null ? "" : (String) commandMap.get("cmd");
|
||||||
if (sCmd.equals("del")) {
|
if (sCmd.equals("del")) {
|
||||||
egovQustnrManageService.deleteQustnrManage(qustnrManageVO);
|
egovQustnrManageService.deleteQustnrManage(qustnrManageVO);
|
||||||
@ -200,6 +201,8 @@ public class EgovQustnrManageController {
|
|||||||
|
|
||||||
List<?> resultList = egovQustnrManageService.selectQustnrManageList(searchVO) ;
|
List<?> resultList = egovQustnrManageService.selectQustnrManageList(searchVO) ;
|
||||||
|
|
||||||
|
//System.out.println(((EgovMap)resultList.get(0)).get("totcnt"));
|
||||||
|
|
||||||
paginationInfo.setTotalRecordCount( resultList.size()> 0 ? ((int)((EgovMap)resultList.get(0)).get("totcnt")) : 0);
|
paginationInfo.setTotalRecordCount( resultList.size()> 0 ? ((int)((EgovMap)resultList.get(0)).get("totcnt")) : 0);
|
||||||
model.addAttribute("resultList", resultList);
|
model.addAttribute("resultList", resultList);
|
||||||
model.addAttribute("paginationInfo", paginationInfo);
|
model.addAttribute("paginationInfo", paginationInfo);
|
||||||
@ -220,6 +223,11 @@ public class EgovQustnrManageController {
|
|||||||
authorManageVO.setRecordCountPerPage(10);
|
authorManageVO.setRecordCountPerPage(10);
|
||||||
authorManageVO.setAuthorManageList(egovAuthorManageService.selectAuthorList(authorManageVO));
|
authorManageVO.setAuthorManageList(egovAuthorManageService.selectAuthorList(authorManageVO));
|
||||||
model.addAttribute("qestnrTrgetList", authorManageVO.getAuthorManageList());
|
model.addAttribute("qestnrTrgetList", authorManageVO.getAuthorManageList());
|
||||||
|
|
||||||
|
}catch(Exception ex) {
|
||||||
|
ex.printStackTrace();
|
||||||
|
}
|
||||||
|
|
||||||
return "/uss/olp/qmc/EgovQustnrManageList";
|
return "/uss/olp/qmc/EgovQustnrManageList";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -585,6 +585,8 @@ public class EduEndTngrController {
|
|||||||
qustnrRespondManageVO.setQestnrRespondent(qustnrRespondInfoVO.getQestnrRespondent());
|
qustnrRespondManageVO.setQestnrRespondent(qustnrRespondInfoVO.getQestnrRespondent());
|
||||||
qustnrRespondManageVO.setFrstRegisterId(loginVO.getId());
|
qustnrRespondManageVO.setFrstRegisterId(loginVO.getId());
|
||||||
qustnrRespondManageVO.setLastUpdusrId(loginVO.getId());
|
qustnrRespondManageVO.setLastUpdusrId(loginVO.getId());
|
||||||
|
//qustnrRespondManageVO.setQestnrTmplatId(qestnrTmplatId);
|
||||||
|
|
||||||
egovQustnrRespondManageService.insertQustnrRespondManage(qustnrRespondManageVO);
|
egovQustnrRespondManageService.insertQustnrRespondManage(qustnrRespondManageVO);
|
||||||
// 설문 문항 결과 등록
|
// 설문 문항 결과 등록
|
||||||
for(int i=0; i < qustnrRespondInfoVO.getResultList().size(); i++) {
|
for(int i=0; i < qustnrRespondInfoVO.getResultList().size(); i++) {
|
||||||
|
|||||||
@ -79,8 +79,8 @@
|
|||||||
, a.qustnr_sj qestnrSj
|
, a.qustnr_sj qestnrSj
|
||||||
, a.qustnr_purps qestnrPurps
|
, a.qustnr_purps qestnrPurps
|
||||||
, a.qustnr_writng_guidance_cn qestnrwritngguidancecn
|
, a.qustnr_writng_guidance_cn qestnrwritngguidancecn
|
||||||
, date_format(a.qustnr_bgnde,'%y-%m-%d') qestnrBeginDe
|
, a.qustnr_bgnde qestnrBeginDe
|
||||||
, date_format(a.qustnr_endde,'%y-%m-%d') qestnrEndDe
|
, a.qustnr_endde qestnrEndDe
|
||||||
, a.qustnr_trget qestnrtrget
|
, a.qustnr_trget qestnrtrget
|
||||||
, a.qustnr_tmplat_id qestnrtmplatid
|
, a.qustnr_tmplat_id qestnrtmplatid
|
||||||
, a.frst_regist_pnttm frstregisterpnttm
|
, a.frst_regist_pnttm frstregisterpnttm
|
||||||
@ -94,7 +94,7 @@
|
|||||||
, ( select count(*) from lettnqustnrqesitm where qestnr_id = a.qestnr_id ) qustnrQesitmCnt
|
, ( select count(*) from lettnqustnrqesitm where qestnr_id = a.qestnr_id ) qustnrQesitmCnt
|
||||||
, ( select count(*) from lettnqustnrrespondinfo where qestnr_id = a.qestnr_id ) rrspnsResultCnt
|
, ( select count(*) from lettnqustnrrespondinfo where qestnr_id = a.qestnr_id ) rrspnsResultCnt
|
||||||
, case
|
, case
|
||||||
when date_format(a.qustnr_endde,'%y%m%d') < date_format(now(), '%y%m%d') then '2' /* 종료 */
|
when a.qustnr_endde < TO_CHAR(SYSDATE, 'YYYYMMDD') then '2' /* 종료 */
|
||||||
else a.sttus
|
else a.sttus
|
||||||
end as sttus
|
end as sttus
|
||||||
, (select qustnr_tmplat_path_nm from lettnqustnrtmplat where qustnr_tmplat_id = a.qustnr_tmplat_id ) template_url
|
, (select qustnr_tmplat_path_nm from lettnqustnrtmplat where qustnr_tmplat_id = a.qustnr_tmplat_id ) template_url
|
||||||
@ -115,7 +115,7 @@
|
|||||||
</isEqual>
|
</isEqual>
|
||||||
</isNotEqual>
|
</isNotEqual>
|
||||||
</isNotEmpty>
|
</isNotEmpty>
|
||||||
ORDER BY 1=1
|
ORDER BY 1
|
||||||
<isNotEmpty property="searchSortCnd">
|
<isNotEmpty property="searchSortCnd">
|
||||||
,$searchSortCnd$
|
,$searchSortCnd$
|
||||||
</isNotEmpty>
|
</isNotEmpty>
|
||||||
@ -123,7 +123,11 @@
|
|||||||
$searchSortOrd$
|
$searchSortOrd$
|
||||||
</isNotEmpty>
|
</isNotEmpty>
|
||||||
<isNotEqual property="pageIndex" compareValue="0">
|
<isNotEqual property="pageIndex" compareValue="0">
|
||||||
LIMIT #recordCountPerPage# OFFSET #firstIndex#
|
|
||||||
|
/*
|
||||||
|
LIMIT recordCountPerPage OFFSET firstIndex
|
||||||
|
*/
|
||||||
|
OFFSET #firstIndex# ROWS FETCH NEXT #recordCountPerPage# ROWS ONLY;
|
||||||
</isNotEqual>
|
</isNotEqual>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|||||||
@ -77,7 +77,10 @@
|
|||||||
</isNotEmpty>
|
</isNotEmpty>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
ORDER BY A.FRST_REGIST_PNTTM DESC
|
ORDER BY A.FRST_REGIST_PNTTM DESC
|
||||||
LIMIT #recordCountPerPage# OFFSET #firstIndex#
|
/*
|
||||||
|
LIMIT recordCountPerPage OFFSET firstIndex
|
||||||
|
*/
|
||||||
|
OFFSET #firstIndex# ROWS FETCH NEXT #recordCountPerPage# ROWS ONLY;
|
||||||
]]>
|
]]>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
@ -122,9 +125,9 @@
|
|||||||
, #eduChasiOrd#
|
, #eduChasiOrd#
|
||||||
, #qestnrParticipant#
|
, #qestnrParticipant#
|
||||||
, #qestnrRespondent#
|
, #qestnrRespondent#
|
||||||
, NOW()
|
, SYSDATE
|
||||||
, #frstRegisterId#
|
, #frstRegisterId#
|
||||||
, NOW()
|
, SYSDATE
|
||||||
, #lastUpdusrId#
|
, #lastUpdusrId#
|
||||||
)
|
)
|
||||||
]]>
|
]]>
|
||||||
|
|||||||
@ -929,13 +929,17 @@
|
|||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
<select id="userManageDAO.selectOffeduUserList" parameterClass="userVO" resultClass="userVO">
|
<select id="userManageDAO.selectOffeduUserList" parameterClass="userVO" resultClass="userVO">
|
||||||
/* 임시.*NOT_SQL_LOG.* userManageDAO.selectOffeduUser */
|
/* 임시.*NOT_SQL_LOG.* userManageDAO.selectOffeduUserList */
|
||||||
SELECT COUNT(mber_id) OVER() AS totCnt,
|
SELECT COUNT(mber_id) OVER() AS totCnt
|
||||||
a.mber_id AS mberId
|
, a.mber_id AS mberId
|
||||||
|
, a.esntl_id AS esntlId
|
||||||
|
|
||||||
FROM lettngnrlmber a
|
FROM lettngnrlmber a
|
||||||
WHERE 1=1
|
WHERE 1=1
|
||||||
<isNotEmpty property="searchWord" prepend="AND">
|
<isNotEmpty property="searchWord" prepend="AND">
|
||||||
a.mber_id LIKE '%'||#searchWord#||'%'
|
a.mber_id LIKE '%'||#searchWord#||'%'
|
||||||
|
OR
|
||||||
|
a.esntl_id LIKE '%'||#searchWord#||'%'
|
||||||
</isNotEmpty>
|
</isNotEmpty>
|
||||||
OFFSET #firstIndex# ROWS FETCH NEXT #recordCountPerPage# ROWS ONLY;
|
OFFSET #firstIndex# ROWS FETCH NEXT #recordCountPerPage# ROWS ONLY;
|
||||||
</select>
|
</select>
|
||||||
|
|||||||
@ -2505,7 +2505,10 @@
|
|||||||
<select id="VEEduMIXDAO.selectChasiInfo" parameterClass="VEEduChasiVO" resultClass="VEEduChasiVO">
|
<select id="VEEduMIXDAO.selectChasiInfo" parameterClass="VEEduChasiVO" resultClass="VEEduChasiVO">
|
||||||
/* VEEduMIXDAO.selectChasiInfo */
|
/* VEEduMIXDAO.selectChasiInfo */
|
||||||
SELECT
|
SELECT
|
||||||
STR_TO_DATE(B.edu_hope_dt,'%Y%m%d') AS eduHopeDt
|
/*
|
||||||
|
TO_CHAR(B.edu_hope_dt,'YYYYMMDD') AS eduHopeDt
|
||||||
|
*/
|
||||||
|
B.edu_hope_dt AS eduHopeDt
|
||||||
, B.strt_tm AS strtTm
|
, B.strt_tm AS strtTm
|
||||||
, B.end_tm AS endTm
|
, B.end_tm AS endTm
|
||||||
, B.lrn_tm AS lrnTm
|
, B.lrn_tm AS lrnTm
|
||||||
|
|||||||
@ -54,18 +54,23 @@
|
|||||||
<table>
|
<table>
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col style="width: auto;">
|
<col style="width: auto;">
|
||||||
|
<col style="width: auto;">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="col">아이디</th>
|
<th scope="col">e-배움터아이디</th>
|
||||||
|
<th scope="col">찾교아이디</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<c:forEach var="row" items="${userList}" varStatus="status">
|
<c:forEach var="row" items="${userList}" varStatus="status">
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<a href="#" onclick="fncUserDataSlct(this); return false;" data-value="${row.mberId}"><c:out value="${row.mberId}" /></a>
|
<a href="#" onclick="fncUserDataSlct(this); return false;" data-value="${row.esntlId}"><c:out value="${row.mberId}" /></a>
|
||||||
<input type="hidden" name="userId" value="${row.mberId}"/>
|
<input type="hidden" name="userId" value="${row.esntlId}"/>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<a href="#" onclick="fncUserDataSlct(this); return false;" data-value="${row.esntlId}"><c:out value="${row.esntlId}" /></a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</c:forEach>
|
</c:forEach>
|
||||||
|
|||||||
@ -118,6 +118,7 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$("select[name=divCd] option[value='10']").remove();
|
||||||
$("select[name=divCd] option[value='20']").remove();
|
$("select[name=divCd] option[value='20']").remove();
|
||||||
$("select[name=divCd] option[value='30']").remove();
|
$("select[name=divCd] option[value='30']").remove();
|
||||||
});
|
});
|
||||||
|
|||||||
@ -914,7 +914,8 @@
|
|||||||
|
|
||||||
<div class="tb_tit01">
|
<div class="tb_tit01">
|
||||||
<div class="tb_tit01_left">
|
<div class="tb_tit01_left">
|
||||||
<p>교육내용 및 기자재 정보</p>
|
<!-- <p>교육내용 및 기자재 정보</p> -->
|
||||||
|
<p>기자재 정보</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="tb_type01 tb_write">
|
<div class="tb_type01 tb_write">
|
||||||
@ -924,6 +925,7 @@
|
|||||||
<col style="width: auto;">
|
<col style="width: auto;">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
<!--
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">
|
<th scope="row">
|
||||||
<p>교육내용</p>
|
<p>교육내용</p>
|
||||||
@ -938,6 +940,7 @@
|
|||||||
</c:forEach>
|
</c:forEach>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
-->
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">
|
<th scope="row">
|
||||||
<p>기자재 유무</p>
|
<p>기자재 유무</p>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user