2023-11-13 12:19 청소년 찾교 신청 코드 변경
This commit is contained in:
parent
46c6d8eb83
commit
6fc9b2f645
@ -48,7 +48,8 @@ public class VEEduAplctVO extends ComDefaultVO implements Serializable {
|
|||||||
private String email1; //이메일
|
private String email1; //이메일
|
||||||
private String email2; //이메일
|
private String email2; //이메일
|
||||||
|
|
||||||
private String eduPlace; //교육장소
|
private String eduPlace; //교육장소(eduPlaceCd-99인 경우만 들어가도록)
|
||||||
|
private String eduPlaceCd; //교육장소코드(VEA010)
|
||||||
private String sbmtYn; //제출여부
|
private String sbmtYn; //제출여부
|
||||||
private String sbmtPnttm; //제출일시
|
private String sbmtPnttm; //제출일시
|
||||||
private String sbmtPnttmDetail; //제출일시 시분초 추가
|
private String sbmtPnttmDetail; //제출일시 시분초 추가
|
||||||
@ -604,6 +605,12 @@ public class VEEduAplctVO extends ComDefaultVO implements Serializable {
|
|||||||
public void setEduPlace(String eduPlace) {
|
public void setEduPlace(String eduPlace) {
|
||||||
this.eduPlace = eduPlace;
|
this.eduPlace = eduPlace;
|
||||||
}
|
}
|
||||||
|
public String getEduPlaceCd() {
|
||||||
|
return eduPlaceCd;
|
||||||
|
}
|
||||||
|
public void setEduPlaceCd(String eduPlaceCd) {
|
||||||
|
this.eduPlaceCd = eduPlaceCd;
|
||||||
|
}
|
||||||
public String getSbmtYn() {
|
public String getSbmtYn() {
|
||||||
return sbmtYn;
|
return sbmtYn;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -34,6 +34,7 @@
|
|||||||
|
|
||||||
EMAIL,
|
EMAIL,
|
||||||
EDU_PLACE,
|
EDU_PLACE,
|
||||||
|
EDU_PLACE_CD,
|
||||||
SBMT_YN,
|
SBMT_YN,
|
||||||
SBMT_PNTTM,
|
SBMT_PNTTM,
|
||||||
APRVL_CD,
|
APRVL_CD,
|
||||||
@ -110,6 +111,7 @@
|
|||||||
A.PHONE AS phone,
|
A.PHONE AS phone,
|
||||||
A.EMAIL AS email,
|
A.EMAIL AS email,
|
||||||
A.EDU_PLACE AS eduPlace,
|
A.EDU_PLACE AS eduPlace,
|
||||||
|
A.EDU_PLACE_CD AS eduPlaceCd,
|
||||||
A.SBMT_YN AS sbmtYn,
|
A.SBMT_YN AS sbmtYn,
|
||||||
TO_CHAR(A.SBMT_PNTTM, 'YY-MM-DD') AS sbmtPnttm,
|
TO_CHAR(A.SBMT_PNTTM, 'YY-MM-DD') AS sbmtPnttm,
|
||||||
A.APRVL_CD AS aprvlCd,
|
A.APRVL_CD AS aprvlCd,
|
||||||
@ -186,6 +188,7 @@
|
|||||||
|
|
||||||
#email#,
|
#email#,
|
||||||
#eduPlace#,
|
#eduPlace#,
|
||||||
|
#eduPlaceCd#,
|
||||||
#sbmtYn#,
|
#sbmtYn#,
|
||||||
CASE WHEN #sbmtYn# = 'Y' THEN SYSDATE ELSE NULL END,
|
CASE WHEN #sbmtYn# = 'Y' THEN SYSDATE ELSE NULL END,
|
||||||
#aprvlCd#,
|
#aprvlCd#,
|
||||||
@ -313,6 +316,7 @@
|
|||||||
A.PHONE ,
|
A.PHONE ,
|
||||||
A.EMAIL ,
|
A.EMAIL ,
|
||||||
A.EDU_PLACE ,
|
A.EDU_PLACE ,
|
||||||
|
A.EDU_PLACE_CD ,
|
||||||
A.SBMT_YN ,
|
A.SBMT_YN ,
|
||||||
TO_CHAR(A.SBMT_PNTTM, 'YY-MM-DD') ,
|
TO_CHAR(A.SBMT_PNTTM, 'YY-MM-DD') ,
|
||||||
A.APRVL_CD ,
|
A.APRVL_CD ,
|
||||||
@ -524,6 +528,9 @@
|
|||||||
<isNotEmpty property="eduPlace">
|
<isNotEmpty property="eduPlace">
|
||||||
, EDU_PLACE = #eduPlace#
|
, EDU_PLACE = #eduPlace#
|
||||||
</isNotEmpty>
|
</isNotEmpty>
|
||||||
|
<isNotEmpty property="eduPlaceCd">
|
||||||
|
, EDU_PLACE_CD = #eduPlaceCd#
|
||||||
|
</isNotEmpty>
|
||||||
<isNotEmpty property="sbmtYn">
|
<isNotEmpty property="sbmtYn">
|
||||||
, SBMT_YN = #sbmtYn#
|
, SBMT_YN = #sbmtYn#
|
||||||
/*
|
/*
|
||||||
@ -716,6 +723,9 @@
|
|||||||
<isNotEmpty property="eduPlace">
|
<isNotEmpty property="eduPlace">
|
||||||
, EDU_PLACE = #eduPlace#
|
, EDU_PLACE = #eduPlace#
|
||||||
</isNotEmpty>
|
</isNotEmpty>
|
||||||
|
<isNotEmpty property="eduPlaceCd">
|
||||||
|
, EDU_PLACE_CD = #eduPlaceCd#
|
||||||
|
</isNotEmpty>
|
||||||
<isNotEmpty property="sbmtYn">
|
<isNotEmpty property="sbmtYn">
|
||||||
, SBMT_YN = #sbmtYn#
|
, SBMT_YN = #sbmtYn#
|
||||||
, SBMT_PNTTM = CASE WHEN SBMT_PNTTM IS NULL THEN SYSDATE ELSE SBMT_PNTTM END
|
, SBMT_PNTTM = CASE WHEN SBMT_PNTTM IS NULL THEN SYSDATE ELSE SBMT_PNTTM END
|
||||||
|
|||||||
@ -206,7 +206,14 @@
|
|||||||
<th scope="row">
|
<th scope="row">
|
||||||
<p>교육장소</p>
|
<p>교육장소</p>
|
||||||
</th>
|
</th>
|
||||||
<td><c:out value="${info.eduPlace}" /></td>
|
<td>
|
||||||
|
<c:if test="${info.eduPlaceCd eq '99'}">
|
||||||
|
${info.eduPlace}
|
||||||
|
</c:if>
|
||||||
|
<c:if test="${info.eduPlaceCd ne '99'}">
|
||||||
|
<kc:code codeId="VEA010" code="${info.eduPlaceCd}"/>
|
||||||
|
</c:if>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">
|
<th scope="row">
|
||||||
|
|||||||
@ -443,14 +443,13 @@
|
|||||||
<th scope="row">
|
<th scope="row">
|
||||||
<p>교육장소</p>
|
<p>교육장소</p>
|
||||||
</th>
|
</th>
|
||||||
<td colspan="3">
|
<td colspan="3">
|
||||||
<c:out value="${info.eduPlace}" />
|
<c:if test="${info.eduPlaceCd eq '99'}">
|
||||||
<p style="padding-left:10%;">
|
${info.eduPlace}
|
||||||
<input type="checkbox" <c:if test="${info.corpsEdu eq 'Y'}">checked</c:if> disabled="disabled"> 집체교육
|
</c:if>
|
||||||
</p>
|
<c:if test="${info.eduPlaceCd ne '99'}">
|
||||||
<p style="padding-left:20px;">
|
<ve:code codeId="VEA010" code="${info.eduPlaceCd}"/>
|
||||||
<input type="checkbox" <c:if test="${info.broadroomEdu eq 'Y'}">checked</c:if> disabled="disabled"> 방송실교육
|
</c:if>
|
||||||
</p>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
@ -352,13 +352,12 @@
|
|||||||
<p>교육장소</p>
|
<p>교육장소</p>
|
||||||
</th>
|
</th>
|
||||||
<td colspan="3">
|
<td colspan="3">
|
||||||
<c:out value="${info.eduPlace}" />
|
<c:if test="${info.eduPlaceCd eq '99'}">
|
||||||
<p style="padding-left:10%;">
|
${info.eduPlace}
|
||||||
<input type="checkbox" <c:if test="${info.corpsEdu eq 'Y'}">checked</c:if> disabled="disabled"> 집체교육
|
</c:if>
|
||||||
</p>
|
<c:if test="${info.eduPlaceCd ne '99'}">
|
||||||
<p style="padding-left:20px;">
|
<kc:code codeId="VEA010" code="${info.eduPlaceCd}"/>
|
||||||
<input type="checkbox" <c:if test="${info.broadroomEdu eq 'Y'}">checked</c:if> disabled="disabled"> 방송실교육
|
</c:if>
|
||||||
</p>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|||||||
@ -427,13 +427,12 @@ function replyCalculation(){
|
|||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><p>교육장소</p></th>
|
<th scope="row"><p>교육장소</p></th>
|
||||||
<td colspan="3">
|
<td colspan="3">
|
||||||
<c:out value='${info.eduPlace}'/>
|
<c:if test="${info.eduPlaceCd eq '99'}">
|
||||||
<p style="padding-left:10%;">
|
${info.eduPlace}
|
||||||
<input type="checkbox" <c:if test="${info.corpsEdu eq 'Y'}">checked</c:if> disabled="disabled"> 집체교육
|
</c:if>
|
||||||
</p>
|
<c:if test="${info.eduPlaceCd ne '99'}">
|
||||||
<p style="padding-left:20px;">
|
<ve:code codeId="VEA010" code="${info.eduPlaceCd}"/>
|
||||||
<input type="checkbox" <c:if test="${info.broadroomEdu eq 'Y'}">checked</c:if> disabled="disabled"> 방송실교육
|
</c:if>
|
||||||
</p>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|||||||
@ -855,8 +855,15 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<th scope="row">
|
<th scope="row">
|
||||||
<p>교육장소</p>
|
<p>교육장소</p>
|
||||||
</th>
|
</th>
|
||||||
<td colspan="3">${info.eduPlace}</td>
|
<td colspan="3">
|
||||||
|
<c:if test="${info.eduPlaceCd eq '99'}">
|
||||||
|
${info.eduPlace}
|
||||||
|
</c:if>
|
||||||
|
<c:if test="${info.eduPlaceCd ne '99'}">
|
||||||
|
<kc:code codeId="VEA010" code="${info.eduPlaceCd}"/>
|
||||||
|
</c:if>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">
|
<th scope="row">
|
||||||
|
|||||||
@ -365,11 +365,15 @@ var psblFlag = "Y";//학생 신청가능기간여부 체크
|
|||||||
return false;
|
return false;
|
||||||
};
|
};
|
||||||
|
|
||||||
if($("#eduPlace").val() == ''){
|
var v_eduPlaceCd = $("input[name='eduPlaceCd']:checked").val();
|
||||||
alert('교육장소를 입력해주세요.');
|
|
||||||
$("#eduPlace").focus();
|
if (v_eduPlaceCd=='99'){
|
||||||
return false;
|
if($("#eduPlace").val() == ''){
|
||||||
};
|
alert('교육장소를 입력해주세요.');
|
||||||
|
$("#eduPlace").focus();
|
||||||
|
return false;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
var trObj = $('.addClassRow').find('tbody > tr').not('.calendar_wrap tr');
|
var trObj = $('.addClassRow').find('tbody > tr').not('.calendar_wrap tr');
|
||||||
if(trObj.length == 0){
|
if(trObj.length == 0){
|
||||||
@ -809,6 +813,23 @@ var psblFlag = "Y";//학생 신청가능기간여부 체크
|
|||||||
, "calendarPop"
|
, "calendarPop"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//교육 장소에 따른 내용 변경
|
||||||
|
function eduPlaceChg(){
|
||||||
|
|
||||||
|
var v_eduPlaceCd = $("input[name='eduPlaceCd']:checked").val();
|
||||||
|
var v_eduPlace = $('#eduPlace');
|
||||||
|
|
||||||
|
|
||||||
|
if (v_eduPlaceCd=='99'){
|
||||||
|
v_eduPlace.removeAttr('disabled');
|
||||||
|
}else{
|
||||||
|
v_eduPlace.val('');
|
||||||
|
v_eduPlace.attr('disabled', 'disabled');
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<div class="mask2" onclick="timeLayerUtil()"></div>
|
<div class="mask2" onclick="timeLayerUtil()"></div>
|
||||||
<div class="cont_wrap" id="sub">
|
<div class="cont_wrap" id="sub">
|
||||||
@ -1043,9 +1064,13 @@ var psblFlag = "Y";//학생 신청가능기간여부 체크
|
|||||||
</th>
|
</th>
|
||||||
<td>
|
<td>
|
||||||
<label for="eduPlace" class="label">교육장소 입력</label>
|
<label for="eduPlace" class="label">교육장소 입력</label>
|
||||||
<input type="text" value="${info.eduPlace}" name="eduPlace" id="eduPlace" size="25">
|
<input type="text" value="${info.eduPlace}" name="eduPlace" id="eduPlace" size="25" disabled>
|
||||||
<input type="checkbox" name="corpsEdu" id="corpsEdu" value="Y" <c:if test="${info.corpsEdu eq 'Y'}">checked</c:if>> <label for="corpsEdu">집체교육</label>
|
<input type="checkbox" name="corpsEdu" id="corpsEdu" value="Y" <c:if test="${info.corpsEdu eq 'Y'}">checked</c:if>> <label for="corpsEdu">집체교육</label>
|
||||||
<input type="checkbox" name="broadroomEdu" id="broadroomEdu" value="Y" <c:if test="${info.broadroomEdu eq 'Y'}">checked</c:if>> <label for="broadroomEdu">방송실교육</label>
|
<input type="checkbox" name="broadroomEdu" id="broadroomEdu" value="Y" <c:if test="${info.broadroomEdu eq 'Y'}">checked</c:if>> <label for="broadroomEdu">방송실교육</label>
|
||||||
|
<ve:radio codeId="VEA010" id="eduPlaceCd" name="eduPlaceCd"
|
||||||
|
selectedValue="${empty info.eduPlaceCd ? '01' : info.eduPlaceCd}"
|
||||||
|
onChange="eduPlaceChg();"
|
||||||
|
/>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<!--
|
<!--
|
||||||
|
|||||||
@ -908,7 +908,14 @@
|
|||||||
<th scope="row">
|
<th scope="row">
|
||||||
<p>교육장소</p>
|
<p>교육장소</p>
|
||||||
</th>
|
</th>
|
||||||
<td colspan="3">${info.eduPlace}</td>
|
<td colspan="3">
|
||||||
|
<c:if test="${info.eduPlaceCd eq '99'}">
|
||||||
|
${info.eduPlace}
|
||||||
|
</c:if>
|
||||||
|
<c:if test="${info.eduPlaceCd ne '99'}">
|
||||||
|
<kc:code codeId="VEA010" code="${info.eduPlaceCd}"/>
|
||||||
|
</c:if>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">
|
<th scope="row">
|
||||||
|
|||||||
@ -166,8 +166,7 @@
|
|||||||
<p>강의일자</p>
|
<p>강의일자</p>
|
||||||
</th>
|
</th>
|
||||||
<td>
|
<td>
|
||||||
${info.eduHopeDt}
|
${fn:substring(info.eduHopeDt,0,4)}년 ${fn:substring(info.eduHopeDt,5,7)}월 ${fn:substring(info.eduHopeDt,8,10)}일
|
||||||
${fn:substring(info.eduHopeDt,0,4)}년 ${fn:substring(info.eduHopeDt,4,6)}월 ${fn:substring(info.eduHopeDt,6,8)}일
|
|
||||||
</td>
|
</td>
|
||||||
<th scope="row">
|
<th scope="row">
|
||||||
<p>첫 강의시간</p>
|
<p>첫 강의시간</p>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user