This commit is contained in:
jiwoo 2023-09-05 15:41:37 +09:00
commit 2ee35b74f6
6 changed files with 155 additions and 191 deletions

View File

@ -176,19 +176,8 @@ public class FndthPrcsInfoMngController {
if(StringUtil.isNotEmpty(vEPrcsDetailVO.getSearchKeyword())){
String selectCondition = "AND a.PRCS_NM LIKE CONCAT ('%', '" +vEPrcsDetailVO.getSearchKeyword() + "', '%')";
vEPrcsDetailVO.setSelectPagingListQuery(selectCondition);
}
if(StringUtil.isNotEmpty(vEPrcsDetailVO.getPrcsKind())){
String[] splited = vEPrcsDetailVO.getPrcsKind().split(",");
vEPrcsDetailVO.setSearchStatusArr(splited);
}
if(StringUtil.isEmpty(vEPrcsDetailVO.getPrcsDiv())) {
//vEPrcsDetailVO.setPrcsDiv("10");// 과정구분 VE0015 10-산업종사자, 20-대학생, 30-공무원, 40-일반인, 50-청소년, 60-학부모
}
List<VEPrcsDetailVO> vEPrcsDetailVOList = vEPrcsService.selectPagingList(vEPrcsDetailVO);
//3.pageing step3
@ -261,13 +250,12 @@ public class FndthPrcsInfoMngController {
String prcsOrd = prcsGnrService.getNextStringId(); // 고유ID
vEPrcsDetailVO.setPrcsOrd(prcsOrd);
vEPrcsDetailVO.setLctrDivCd("50"); //강의구분코드 VE0011 10-청소년강의, 20-성인강의, 30-체험, 50-기반강화, 60-조건부
vEPrcsDetailVO.setUseYn("Y");
vEPrcsDetailVO.setFrstRegisterId(loginVO.getUniqId()); //esntl_id
vEPrcsService.insert(vEPrcsDetailVO);
//세부과정 생성하기
String[] s_detailPrcsNm = request.getParameterValues("detailPrcsNm");
/*String[] s_detailPrcsNm = request.getParameterValues("detailPrcsNm");
for (int i=0;i<s_detailPrcsNm.length;i++) {
String prcsOnlnOrd = prcsOnlnGnrService.getNextStringId(); // 고유ID
VEPrcsCntntVO vEPrcsCntntVO = new VEPrcsCntntVO();
@ -279,7 +267,7 @@ public class FndthPrcsInfoMngController {
vEPrcsCntntVO.setUseYn("Y");
vEPrcsCntntVO.setFrstRegisterId(loginVO.getUniqId()); //esntl_id
vEPrcsOnlnCntntService.insert(vEPrcsCntntVO);
}
} */
modelAndView.addObject("result", "success");
@ -346,10 +334,10 @@ public class FndthPrcsInfoMngController {
VEPrcsDetailVO vEPrcsDetailVODetail = vEPrcsService.selectDetail(vEPrcsDetailVO);
model.addAttribute("info", vEPrcsDetailVODetail);
//세부과정 목록 조회
VEPrcsCntntVO vePrcsCntntVO = new VEPrcsCntntVO();
vePrcsCntntVO.setPrcsOrd(vEPrcsDetailVO.getPrcsOrd());
List<VEPrcsCntntVO> vEPrcsCntntList = vEPrcsOnlnCntntService.selectList(vePrcsCntntVO);
model.addAttribute("vEPrcsCntntList", vEPrcsCntntList);
// VEPrcsCntntVO vePrcsCntntVO = new VEPrcsCntntVO();
// vePrcsCntntVO.setPrcsOrd(vEPrcsDetailVO.getPrcsOrd());
// List<VEPrcsCntntVO> vEPrcsCntntList = vEPrcsOnlnCntntService.selectList(vePrcsCntntVO);
// model.addAttribute("vEPrcsCntntList", vEPrcsCntntList);
return "oprtn/fndthEnhanceTrn/fndthEduPrcsMngMdfy";
}
@ -390,9 +378,9 @@ public class FndthPrcsInfoMngController {
//세부과정 지우고 다시 생성
VEPrcsCntntVO vEPrcsCntntVO = new VEPrcsCntntVO();
vEPrcsCntntVO.setPrcsOrd(vEPrcsDetailVO.getPrcsOrd());
int iv = vEPrcsOnlnCntntService.deleteAll(vEPrcsCntntVO);
String[] s_detailPrcsNm = request.getParameterValues("detailPrcsNm");
for (int i=0;i<s_detailPrcsNm.length;i++) {
// int iv = vEPrcsOnlnCntntService.deleteAll(vEPrcsCntntVO);
// String[] s_detailPrcsNm = request.getParameterValues("detailPrcsNm");
/*for (int i=0;i<s_detailPrcsNm.length;i++) {
String prcsOnlnOrd = prcsOnlnGnrService.getNextStringId(); // 고유ID
vEPrcsCntntVO.setPrcsOnlnCntntOrd(prcsOnlnOrd);
//vEPrcsCntntVO.setPrcsNm(s_detailPrcsNm[i]);
@ -401,7 +389,7 @@ public class FndthPrcsInfoMngController {
vEPrcsCntntVO.setUseYn("Y");
vEPrcsCntntVO.setLastUpdusrId(loginVO.getUniqId()); //esntl_id
vEPrcsOnlnCntntService.insert(vEPrcsCntntVO);
}
} */
modelAndView.addObject("result", "success");

View File

@ -171,21 +171,21 @@
SELECT
COUNT(1) OVER() AS totCnt ,
<include refid="VEPrcsDAO.select_column_name"/>
, b.cnt
<!-- , b.cnt -->
FROM
<include refid="VEPrcsDAO.table_name"/> a
, (
<!-- , (
SELECT
prcs_ord
, COUNT(*) cnt
FROM
ve_prcs_onln_cntnt a
GROUP BY prcs_ord
)b
)b -->
WHERE
1=1
AND a.prcs_ord=b.prcs_ord
<!-- AND a.prcs_ord=b.prcs_ord -->
<isNotEmpty property="selectPagingListQuery">
$selectPagingListQuery$
</isNotEmpty>
@ -199,6 +199,10 @@
</isNotEmpty>
<isNotEmpty property="searchStatus">
AND a.prcs_div = #searchStatus#
</isNotEmpty>
<isNotEmpty property="prcsOrd">
AND a.prcs_ord=#prcsOrd#
</isNotEmpty>
@ -207,6 +211,17 @@
AND a.lctr_div_cd=#lctrDivCd#
</isNotEmpty>
<isNotEmpty property="searchSmbtStartDt">
/*등록일시*/
AND TO_CHAR(a.FRST_REGIST_PNTTM, 'YYYYMMDD') <![CDATA[ >= ]]> REPLACE(#searchSmbtStartDt#, '.' , '')
</isNotEmpty>
<isNotEmpty property="searchSmbtEndDt">
/*등록일시*/
AND TO_CHAR(a.FRST_REGIST_PNTTM, 'YYYYMMDD') <![CDATA[ <= ]]> REPLACE(#searchSmbtEndDt#, '.' , '')
</isNotEmpty>
ORDER BY 1=1
, (a.prcs_sort_no * 1)
<isEmpty property="orderByQuery">
@ -216,6 +231,8 @@
, $orderByQuery$
</isNotEmpty>
LIMIT #recordCountPerPage# OFFSET #firstIndex#
</select>

View File

@ -85,27 +85,21 @@
<tbody>
<tr>
<th scope="row">구분</th>
<td>
<ve:code codeId="VE0015" code="${info.prcsDiv}"/>
</td>
</tr>
<tr>
<th scope="row">종류</th>
<td>
<input type="checkbox" id="prcsKind01" name="prcsKind" value="01" disabled="disabled"; <c:if test="${fn:contains(info.prcsKind, '01')}">checked="checked"</c:if>>
<label class="" for="prcsKind01">신규</label>
<input type="checkbox" id="prcsKind012" name="prcsKind" value="02" disabled="disabled"; <c:if test="${fn:contains(info.prcsKind, '02')}">checked="checked"</c:if>>
<label class="" for="prcsKind012">갱신</label>
<input type="checkbox" id="prcsKind0123" name="prcsKind" value="03" disabled="disabled"; <c:if test="${fn:contains(info.prcsKind, '03')}">checked="checked"</c:if>>
<label class="" for="prcsKind0123">의무</label>
<%-- 1<ve:checkbox codeId="VE0033" id="prcsKind" name="prcsKind" selectedJoinValue="${info.prcsKind}" warp="span" css="disabled"/>2
<br/>
3<ve:checkbox codeId="VE0033" id="prcsKind" name="prcsKind" selectedJoinValue="${info.prcsKind}" warp="span"/>4
<br/>
5<ve:checkbox codeId="VE0033" id="prcsKind" name="prcsKind" selectedJoinValue="${info.prcsKind}" css="disabled"/>6
<br/>
7<ve:checkbox codeId="VE0033" id="prcsKind" name="prcsKind" selectedJoinValue="${info.prcsKind}"/>8 --%>
<th scope="row">교육부문</th>
<td colspan="3" style="position: relative;">
<ve:code codeId="VEA001" code="${info.prcsDiv}"/>
<div class="put_photo">
<div class="put_photo_in">
<div class="put_photo">
<div class="put_photo_in">
<div class="put_photo_box">
<img src="${pageContext.request.contextPath}/visitEdu/usr/publish/images/content/img_add.png" alt="이미지를 넣어주세요">
</div>
<!-- <button type="button" class="btnType01" onclick="fncPhotoPopup(); return false;">사진등록</button> -->
</div>
</div>
</div>
</div>
</td>
</tr>
<tr>
@ -121,22 +115,14 @@
</td>
</tr>
<tr>
<th scope="row">세부과정</th>
<td class="addPro_wrap">
<c:forEach var="list" items="${vEPrcsCntntList}" varStatus="status">
<div class="tbody_one">
<span><span class="span_num3">${status.count}</span>.</span>
<div>
<c:out value='${list.detailPrcsNm}' />
</div>
</div>
</c:forEach>
</td>
</tr>
<tr>
<th scope="row">표시순서</th>
<th scope="row">사용여부</th>
<td>
<c:out value='${info.prcsSortNo}' />
<c:if test="${info.useYn eq 'Y'}">
사용
</c:if>
<c:if test="${info.useYn ne 'Y'}">
미사용
</c:if>
</td>
</tr>
</tbody>

View File

@ -9,6 +9,7 @@
<%@ taglib prefix="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
<%@ taglib prefix="un" uri="http://jakarta.apache.org/taglibs/unstandard-1.0" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="ve" uri="/WEB-INF/tlds/kcc_tld.tld"%>
<un:useConstants var="KccadrStatus" className="kcc.kccadr.cmm.KccadrConstants" />
<%
/**
@ -169,26 +170,24 @@
<p>교육 과정 관리</p>
</div>
<!-- list_top -->
<div class="list_top">
<div class="list_top search-only">
<div class="list_top_1">
<div class="util_left">
<p>이름</p>
</div>
<div class="util_right">
<kc:select codeId="VE0015" name="prcsDiv" id="prcsDiv" css="class='sel_type1'" selectedValue="${vEPrcsDetailVO.prcsDiv}"
defaultValue=""
<ve:select codeId="VEA001" name="searchStatus" id="searchStatus" css="class='sel_type1'"
selectedValue="${vEPrcsDetailVO.searchStatus }" defaultValue=""
defaultText="전체"
/>
<input type="checkbox" id="prcsKind01" name="prcsKind" value="01" <c:if test="${fn:contains(vEPrcsDetailVO.prcsKind, '01')}">checked="checked"</c:if>>
<label class="" for="prcsKind01">신규</label>
<input type="checkbox" id="prcsKind012" name="prcsKind" value="02" <c:if test="${fn:contains(vEPrcsDetailVO.prcsKind, '02')}">checked="checked"</c:if>>
<label class="" for="prcsKind012">갱신</label>
<input type="checkbox" id="prcsKind0123" name="prcsKind" value="03" <c:if test="${fn:contains(vEPrcsDetailVO.prcsKind, '03')}">checked="checked"</c:if>>
<label class="" for="prcsKind0123">의무</label>
<input type="text" id="searchKeyword" name="searchKeyword" placeholder="검색어를 입력하세요." title="검색어 입력" class="search_input" value="<c:out value='${vEPrcsDetailVO.searchKeyword}'/>">
<div class="calendar_wrap">
<input type="text" class="calendar" title="시작일 선택" id="searchSmbtStartDt" name="searchSmbtStartDt" value="${vEPrcsDetailVO.searchSmbtStartDt}">
</div>
~
<div class="calendar_wrap">
<input type="text" class="calendar" title="종료일 선택" id="searchSmbtEndDt" name="searchSmbtEndDt" value="${vEPrcsDetailVO.searchSmbtEndDt}">
</div>
<input type="text" id="searchKeyword" name="searchKeyword" placeholder="과정명를 입력하세요." title="검색어 입력" class="search_input" value="<c:out value='${vEEduAplctVO.searchFullName}'/>">
<button type="button" class="btn_type08" onclick="fncGoList(); return false;">검색</button>
<button class="btn_type03" onclick="fncReset(this); return false;">초기화</button>
</div>
</div>
</div>
@ -208,71 +207,54 @@
<!-- //list_top -->
<!-- list_top -->
<!-- list util -->
<div class="list_util">
<p class="list_util_p">총 건수 : <span><c:out value="${paginationInfo.totalRecordCount}" /></span>건</p>
<%-- <div>
<select class="sel_type1" name="pageUnit" id="pageUnit" onchange="linkPage(1);" title="줄 선택" style="width: 140px">
<option value='10' <c:if test="${vEPrcsDetailVO.pageUnit == '10' or vEEduAplctVO.pageUnit == ''}">selected</c:if>>10줄</option>
<option value='20' <c:if test="${vEPrcsDetailVO.pageUnit == '20'}">selected</c:if>>20줄</option>
<option value='30' <c:if test="${vEPrcsDetailVO.pageUnit == '30'}">selected</c:if>>30줄</option>
<option value='100' <c:if test="${vEPrcsDetailVO.pageUnit == '100'}">selected</c:if>>100줄</option>
</select>
</div> --%>
</div>
<!-- //list_top -->
<!-- list -->
<div class="tb_type01">
<table>
<colgroup>
<col style="width: 10%">
<col style="width: 10%">
<col style="width: 20%">
<col style="width: auto">
<col style="width: 10%">
<col style="width: 10%">
<col style="width: 10%">
</colgroup>
<thead>
<tr>
<th>구분</th>
<th>구분</th>
<th>교육부문</th>
<th>과정명</th>
<th>표시순서</th>
<th>차시수</th>
<th>삭제</th>
<th>설명</th>
<th>등록일시</th>
<th>사용여부 </th>
</tr>
</thead>
<tbody>
<c:forEach var="list" items="${list}" varStatus="status">
<tr class="listCount">
<td onclick="fncGoDetail('<c:out value="${list.prcsOrd}"/>');" style="cursor:pointer;">
<kc:code codeId="VE0015" code="${list.prcsDiv}"/>
</td>
<td onclick="fncGoDetail('<c:out value="${list.prcsOrd}"/>');" style="cursor:pointer;">
<c:if test="${fn:contains(list.prcsKind, '01')}">신규</c:if>
<c:if test="${fn:contains(list.prcsKind, '02')}">갱신</c:if>
<c:if test="${fn:contains(list.prcsKind, '03')}">의무</c:if>
<td>
<kc:code codeId="VEA001" code="${list.prcsDiv}"/>
</td>
<td onclick="fncGoDetail('<c:out value="${list.prcsOrd}"/>');" style="cursor:pointer;">
<c:out value='${list.prcsNm}'/>
</td>
<td>
<input type="text" id="prcsSortNo${status.count}" name="prcsSortNo${status.count}" value="<c:out value='${list.prcsSortNo}'/>" style="width:50px;" maxLength="3"/>
&nbsp; <button type="button" class="btn_type01" onclick="fncSaveSort('<c:out value="${list.prcsOrd}"/>', '<c:out value="${status.count}"/>'); return false;">저장</button>
</td>
<td onclick="fncGoDetail('<c:out value="${list.prcsOrd}"/>');" style="cursor:pointer;">
<c:out value='${list.cnt}'/>
<c:out value='${list.prcsCn}'/>
</td>
<td>
<button class="btnType02" onclick="fncDelete('<c:out value='${list.prcsOrd}'/>'); return false;" >삭제</button>
<c:out value='${list.frstRegistPnttm}'/>
</td>
<td>
<c:if test="${list.useYn eq 'Y'}">
사용
</c:if>
<c:if test="${list.useYn ne 'Y'}">
미사용
</c:if>
</td>
</tr>
</c:forEach>
<c:if test="${empty list}">
<tr><td colspan="4"><spring:message code="common.nodata.msg" /></td></tr>
<tr><td colspan="5"><spring:message code="common.nodata.msg" /></td></tr>
</c:if>
</tbody>
</table>

View File

@ -100,7 +100,7 @@
function fncSave(){
var data = new FormData(document.getElementById("createForm"));
if(confirm("저장하시겠습니까?")){
if(confirm("수정하시겠습니까?")){
var url = "<c:url value='/kccadr/oprtn/fndthEnhanceTrn/fndthEduPrcsMngMdfyAjax.do'/>";
console.log(data);
$.ajax({
@ -173,57 +173,52 @@
<tbody>
<tr>
<th scope="row">구분</th>
<td>
<ve:select codeId="VE0015" name="prcsDiv" id="prcsDiv" css="class='sel_type1'" selectedValue="${info.prcsDiv}" defaultValue='10'/>
</td>
</tr>
<tr>
<th scope="row">종류</th>
<td>
<input type="checkbox" id="prcsKind01" name="prcsKind" value="01" <c:if test="${fn:contains(info.prcsKind, '01')}">checked="checked"</c:if>>
<label class="" for="prcsKind01">신규</label>
<input type="checkbox" id="prcsKind012" name="prcsKind" value="02" <c:if test="${fn:contains(info.prcsKind, '02')}">checked="checked"</c:if>>
<label class="" for="prcsKind012">갱신</label>
<input type="checkbox" id="prcsKind0123" name="prcsKind" value="03" <c:if test="${fn:contains(info.prcsKind, '03')}">checked="checked"</c:if>>
<label class="" for="prcsKind0123">의무</label>
<th scope="row">교육부문</th>
<td colspan="3" style="position: relative;">
<ve:select codeId="VEA001" name="prcsDiv" id="prcsDiv" css="class='sel_type1'"
selectedValue="${info.prcsDiv }" defaultValue=''
defaultText="선택"
/>
<!-- <input type="text" name="instrNm"/> -->
<div class="put_photo">
<div class="put_photo_in">
<div class="put_photo">
<div class="put_photo_in">
<div class="put_photo_box">
<img src="${pageContext.request.contextPath}/visitEdu/usr/publish/images/content/img_add.png" alt="이미지를 넣어주세요">
</div>
<!-- <button type="button" class="btnType01" onclick="fncPhotoPopup(); return false;">사진등록</button> -->
</div>
</div>
</div>
</div>
<%-- <ve:select codeId="VE0015" name="prcsDiv" id="prcsDiv" css="class='sel_type1'" selectedValue="<c:out value='${info.prcsDiv}'/>" defaultValue='10'/> --%>
</td>
</tr>
<tr>
<th scope="row">과정명</th>
<td>
<input type="text" placeholder="과정명을 입력해주세요." name="prcsNm" id="prcsNm" value="<c:out value='${info.prcsNm}'/>" style="width: 56%;">
<button type="button" class="btn_type06" onclick="addPro(); return false;">세부과정 추가</button>
<input type="text" name="prcsNm" value="${info.prcsNm }"/>
</td>
</tr>
<tr>
<th scope="row">과정설명</th>
<th scope="row">상세교육과정</th>
<td>
<textarea placeholder="과정설명을 입력해주세요." name="prcsCn" id="prcsCn" class="memo" onfocus="this.placeholder=''" onblur="this.placeholder='과정설명을 입력해주세요.'" class="inputLight"><c:out value='${info.prcsCn}'/></textarea>
<textarea placeholder="과정설명을 입력해주세요." name="prcsCn" id="prcsCn" class="memo" onfocus="this.placeholder=''" onblur="this.placeholder='과정설명을 입력해주세요.'" class="inputLight" style="height: 200px;"><c:out value="${info.prcsCn }" /></textarea>
</td>
</tr>
<tr>
<th scope="row">세부과정</th>
<td class="addPro_wrap">
<c:forEach var="list" items="${vEPrcsCntntList}" varStatus="status">
<div class="tbody_one">
<span><span class="span_num3">${status.count}</span>.</span>
<div>
<input type="text" name="detailPrcsNm" id="detailPrcsNm" value="${list.detailPrcsNm}">
<button type="button" class="table_del3" onclick="delPro(this)"><img src="${pageContext.request.contextPath}/visitEdu/adm/publish/image/content/btn_del.png"></button>
</div>
</div>
</c:forEach>
</td>
</tr>
<tr>
<th scope="row">표시순서</th>
<th scope="row">상태</th>
<td>
<input type="text" name="prcsSortNo" id="prcsSortNo" value="<c:out value='${info.prcsSortNo}'/>" style="width: 50px;" maxLength="3">
<select name="useYn" class="sel_type1">
<option value="Y" <c:if test="${info.useYn=='Y' }">selected="selected"</c:if>>사용</option>
<option value="N" <c:if test="${info.useYn=='N' }">selected="selected"</c:if>>미사용</option>
</select>
</td>
</tr>
</tbody>
</tbody>
</table>
</div>
<!-- //list_상세 -->
@ -235,7 +230,7 @@
<div class="btn_center">
</div>
<div class="btn_right">
<button type="button" class="btn_type02" onclick="fncSave(); return false;">저장</button>
<button type="button" class="btn_type02" onclick="fncSave(); return false;">수정</button>
<button type="button" class="btn_type03" onclick="fncGoList(); return false;">취소</button>
</div>
</div>

View File

@ -7,6 +7,7 @@
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="ve" uri="/WEB-INF/tlds/kcc_tld.tld"%>
<%@ taglib prefix="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
<%
/**
@ -159,7 +160,7 @@
<div class="cont">
<!-- list_상세 -->
<div class="tb_tit01">
<p>교육과정관리</p>
<p>교육과정</p>
</div>
<div class="tb_type02">
<table>
@ -172,53 +173,48 @@
<tbody>
<tr>
<th scope="row">구분</th>
<td>
<ve:select codeId="VE0015" name="prcsDiv" id="prcsDiv" css="class='sel_type1'" selectedValue="<c:out value='${info.prcsDiv}'/>" defaultValue='10'/>
</td>
</tr>
<tr>
<th scope="row">종류</th>
<td>
<input type="checkbox" id="prcsKind01" name="prcsKind" value="01" <c:if test="${fn:contains(info.prcsKind, '01')}">checked="checked"</c:if>>
<label class="" for="prcsKind01">신규</label>
<input type="checkbox" id="prcsKind012" name="prcsKind" value="02" <c:if test="${fn:contains(info.prcsKind, '02')}">checked="checked"</c:if>>
<label class="" for="prcsKind012">갱신</label>
<input type="checkbox" id="prcsKind0123" name="prcsKind" value="03" <c:if test="${fn:contains(info.prcsKind, '03')}">checked="checked"</c:if>>
<label class="" for="prcsKind0123">의무</label>
<th scope="row">교육부문</th>
<td colspan="3" style="position: relative;">
<ve:select codeId="VEA001" name="prcsDiv" id="prcsDiv" css="class='sel_type1'"
selectedValue="" defaultValue=''
defaultText="선택"
/>
<!-- <input type="text" name="instrNm"/> -->
<div class="put_photo">
<div class="put_photo_in">
<div class="put_photo">
<div class="put_photo_in">
<div class="put_photo_box">
<img src="${pageContext.request.contextPath}/visitEdu/usr/publish/images/content/img_add.png" alt="이미지를 넣어주세요">
</div>
<!-- <button type="button" class="btnType01" onclick="fncPhotoPopup(); return false;">사진등록</button> -->
</div>
</div>
</div>
</div>
<%-- <ve:select codeId="VE0015" name="prcsDiv" id="prcsDiv" css="class='sel_type1'" selectedValue="<c:out value='${info.prcsDiv}'/>" defaultValue='10'/> --%>
</td>
</tr>
<tr>
<th scope="row">과정명</th>
<td>
<input type="text" placeholder="과정명을 입력해주세요." name="prcsNm" id="prcsNm" value="<c:out value='${info.prcsNm}'/>" style="width: 56%;">
<button type="button" class="btn_type06" onclick="addPro(); return false;">세부과정 추가</button>
<input type="text" name="prcsNm"/>
</td>
</tr>
<tr>
<th scope="row">과정설명</th>
<th scope="row">상세교육과정</th>
<td>
<textarea placeholder="과정설명을 입력해주세요." name="prcsCn" id="prcsCn" class="memo" onfocus="this.placeholder=''" onblur="this.placeholder='과정설명을 입력해주세요.'" class="inputLight"><c:out value='${info.prcsCn}'/></textarea>
<textarea placeholder="과정설명을 입력해주세요." name="prcsCn" id="prcsCn" class="memo" onfocus="this.placeholder=''" onblur="this.placeholder='과정설명을 입력해주세요.'" class="inputLight" style="height: 200px;"></textarea>
</td>
</tr>
<tr>
<th scope="row">세부과정</th>
<td class="addPro_wrap">
<div class="tbody_one">
<span><span class="span_num3">1</span>.</span>
<div>
<input type="text" name="detailPrcsNm" id="detailPrcsNm" value="${info.detailPrcsNm}">
<button type="button" class="table_del3" onclick="delPro(this)"><img src="${pageContext.request.contextPath}/visitEdu/adm/publish/image/content/btn_del.png"></button>
</div>
</div>
</td>
</tr>
<tr>
<th scope="row">표시순서</th>
<td class="addPro_wrap">
<input type="text" name="prcsSortNo" id="prcsSortNo" value="${info.prcsSortNo}" style="width:50px;" maxLength="3">
<th scope="row">상태</th>
<td>
<select name="useYn" class="sel_type1">
<option value="Y">사용</option>
<option value="N">미사용</option>
</select>
</td>
</tr>
</tbody>