Merge branch 'JIWOO' into advc

Conflicts:
	src/main/java/kcc/ve/oprtn/pblc/sndMng/web/SndMngController.java
This commit is contained in:
jiwoo 2024-01-31 15:33:29 +09:00
commit 70077af93d
9 changed files with 46 additions and 30 deletions

View File

@ -129,6 +129,7 @@ public class VEEduChasiVO extends ComDefaultVO implements Serializable {
private String cnt; //응답자 private String cnt; //응답자
private String sumScore; //전체점수 private String sumScore; //전체점수
private String avgScore; //평균점수 private String avgScore; //평균점수
private String avgScoreFloat; //평균점수 소수점
private String siteId; //설문정보를 위해서 설문지의 대상값을 넣는다. VE0011 10-청소년, 20-성인,30-체험, 40-외부, 50-기반, 60-기소 private String siteId; //설문정보를 위해서 설문지의 대상값을 넣는다. VE0011 10-청소년, 20-성인,30-체험, 40-외부, 50-기반, 60-기소
@ -738,5 +739,11 @@ public class VEEduChasiVO extends ComDefaultVO implements Serializable {
public void setVeaRsltRprtOrd(String veaRsltRprtOrd) { public void setVeaRsltRprtOrd(String veaRsltRprtOrd) {
this.veaRsltRprtOrd = veaRsltRprtOrd; this.veaRsltRprtOrd = veaRsltRprtOrd;
} }
public String getAvgScoreFloat() {
return avgScoreFloat;
}
public void setAvgScoreFloat(String avgScoreFloat) {
this.avgScoreFloat = avgScoreFloat;
}
} }

View File

@ -665,7 +665,7 @@ public class SndMngController {
" </tr>\n" + " </tr>\n" +
" <tr>\n" + " <tr>\n" +
" <td style=\"padding:0 50px;\">\n" + " <td style=\"padding:0 50px;\">\n" +
" <p style=\"text-align: center; font-size:27px; font-weight: bold; padding:25px 0 5px 0; letter-spacing: -1px; border-top:3px solid #f16c23; font-family: 'Noto Sans KR', sans-serif !important;\">찾아가는 저작권 교육 일정 안내<br><span style=\"color:#e95504; padding:0; text-align:center;font-family: 'Noto Sans KR', sans-serif !important; font-size:14px; font-weight: normal; letter-spacing: normal;\">(※ 개인정보가 기재된 자료이므로 이용 관리에 각별히 주의해 주시기 바랍니다)</span></p>\n" + " <p style=\"text-align: center; font-size:27px; font-weight: bold; padding:25px 0 5px 0; letter-spacing: -1px; border-top:3px solid #f16c23; font-family: 'Noto Sans KR', sans-serif !important;\">찾아가는 저작권 교육 일정 안내<br></p>\n" +
" </td>\n" + " </td>\n" +
" </tr>\n" + " </tr>\n" +
" <tr>\n" + " <tr>\n" +
@ -705,16 +705,18 @@ public class SndMngController {
" </tr>\n" + " </tr>\n" +
" </table>\n" + " </table>\n" +
" <p style=\"width:640px; font-size:14px; text-align:left; padding:20px 30px; color:#2f2f2f; border:3px solid #e0e0e0; line-height: 20px;\">\n" + " <p style=\"width:640px; font-size:14px; text-align:left; padding:20px 30px; color:#2f2f2f; border:3px solid #e0e0e0; line-height: 20px;\">\n" +
" 저작권 교육을 신청해 주셔서 대단히 감사드리며, 원활한 교육 진행과 사후관리를 위해 몇 가지 요청사항 전달드립니다.<br><br>\n" + " 저작권 교육을 신청해 주셔서 대단히 감사드리며, 원활한 교육 진행과 사후관리를 위해 몇가지 요청사항 전달드립니다.<br><br>\n" +
" <span style=\"color:#e95504;\">1. 결과보고서</span>: [1] 양식에 따라 작성(사진 첨부)<br>\n" + " <span style=\"color:#e95504;\">1. 결과보고서</span>: 저작권배움터 완료목록에서 교육사진 업로드<br>\n" +
" <span style=\"padding:0 0 0 8px; display: block;\">- 오프라인: 강사 전면 강의 모습, 전경 등 2매 이상 촬영<span style=\"color:#926b5d; padding:0 0 0 2px;\">(※ 수강생 식별되지 않도록 뒷모습 촬영 당부)</span></span>\n" + " <span style=\"padding:0 0 0 8px; display: block;\">- 오프라인: 강사 전면 강의 모습, 전경 등 2매 이상 촬영<span style=\"color:#926b5d; padding:0 0 0 2px;\"><br>\n\n(※수강생 식별되지 않도록 뒷모습 쵤영 당부)</span></span>\n" +
" <span style=\"padding:0 0 0 8px; display: block;\">- 온라인: 참석자 및 강의 모습 화면 캡쳐 화면 등 2매 이상</span>\n" + " <span style=\"padding:0 0 0 8px; display: block;\">- 온라인: 참석자 및 강의 모습을 포함한 캡쳐 화면 등 2매 이상</span>\n" +
" <span style=\"color:#e95504;\">2. 만족도조사</span>: 설문지 양식을 출력 또는 네이버폼 등을 이용하여 조사, 수집 후 <span style=\"font-weight: bold;\">[2] 집계표에 값 입력하여 회신</span><br>\n" + " <span style=\"color:#e95504;\">2. 만족도조사</span>:<br>\n" +
" <span style=\"color:#e95504;\">3. 강사참석확인서</span>: [3] 양식에 강사 날인(온라인의 경우, 강사에게 양식 전달 후, 스캔본 회신)<br><br>\n" + " <span style=\"padding:0 0 0 8px; display: block;\">- 설문지 양식을 출력하여 조사 후 설문등록</span>\n" +
" <span style=\"color:#926b5d; font-weight: bold;\">※ 온라인 교육 시 강의 녹화, 재사용, 배포 등은 저작권법 위반이므로 사전에 강사와 협의가 필요합니다.</span><br><br>\n" + " <span style=\"padding:0 0 0 8px; display: block;\">- QR코드를 이용하여 조사 후 설문등록 저장</span>\n" +
" 1~3 의 요청사항은 교육 후 메일을 통해 회신 부탁 드립니다.(교육 마감 후 일주일 이내)<br>\n" + " <span style=\"color:#e95504;\">3. 강사참석확인서</span>: 저작권배움터 완료목록에서 양식을 다운로드 받으신 후,<br>강사서명 날인후 스캔본 업로드 요청<br><br>\n" +
" <span style=\"color:#926b5d; font-weight: bold;\">※ 교육 시 강의 녹화, 재사용, 배포 등은 저작권법 위반이므로 사전에 강사와 협의가 필요합니다.</span><br><br>\n" +
" 1~3의 요청사항은 교육 완료 후 일주일 이내 시스템 반영 부탁드립니다.<br>\n" +
" 기타 문의사항은 한국저작권위원회 교육운영팀 <a href=\"055-792-0233\" style=\"color:#2f2f2f;\">055-792-0233</a> 으로 연락하여 주시기 바랍니다.<br><br>\n" + " 기타 문의사항은 한국저작권위원회 교육운영팀 <a href=\"055-792-0233\" style=\"color:#2f2f2f;\">055-792-0233</a> 으로 연락하여 주시기 바랍니다.<br><br>\n" +
" 감사합니다 ^^ \n" + " 감사합니다. \n" +
" </p>\n" + " </p>\n" +
" </td>\n" + " </td>\n" +
" </tr>\n" + " </tr>\n" +

View File

@ -5163,6 +5163,7 @@
, NVL(sum(aaa.cnt),0) AS cnt , NVL(sum(aaa.cnt),0) AS cnt
, sum(aaa.sumScore) AS sumScore , sum(aaa.sumScore) AS sumScore
, sum(aaa.sumScore)/sum(aaa.cnt) AS avgScore , sum(aaa.sumScore)/sum(aaa.cnt) AS avgScore
, CAST(sum(aaa.sumScore)/sum(aaa.cnt) AS varchar(15)) AS avgScoreFloat
FROM ( FROM (
SELECT COUNT(1) OVER() AS totCnt , SELECT COUNT(1) OVER() AS totCnt ,
ROWNUM AS rowNo , ROWNUM AS rowNo ,

View File

@ -208,7 +208,7 @@
</form:form> </form:form>
<form:form id="createForm" name="createForm" commandName="vEEduAplctVO" method="post"> <form:form id="createForm" name="createForm" commandName="vEEduAplctVO" method="post">
<%-- <input type="hidden" name="eduAplctOrd" value="<c:out value="${vEEduAplctVO.eduAplctOrd}" />" /> --%> <input type="hidden" name="eduAplctOrd" value="<c:out value="${vEEduAplctVO.eduAplctOrd}" />" />
<input type="hidden" name="eduChasiOrd" value="<c:out value="${vEEduAplctVO.eduChasiOrd}" />" /> <input type="hidden" name="eduChasiOrd" value="<c:out value="${vEEduAplctVO.eduChasiOrd}" />" />
<input type="hidden" name="instrDiv" value="<c:out value="${vEEduAplctVO.instrDiv}" />" /> <input type="hidden" name="instrDiv" value="<c:out value="${vEEduAplctVO.instrDiv}" />" />
<!-- cont --> <!-- cont -->

View File

@ -244,12 +244,10 @@ function usrJoin(){
<div class="top_link"> <div class="top_link">
<ul> <ul>
<!-- 240119 요청으로 인하여 운영서버는 링크 제외 --> <!-- 240119 요청으로 인하여 운영서버는 링크 제외 -->
<c:if test="${environment ne 'real' }">
<li><a href="#goLink" onclick="goLink('portal');return false;" onkeypress="this.onclick;" title="새창열림" target="_blank">포털사이트</a></li> <li><a href="#goLink" onclick="goLink('portal');return false;" onkeypress="this.onclick;" title="새창열림" target="_blank">포털사이트</a></li>
<li><a href="#goLink" onclick="goLink('user');return false;" onkeypress="this.onclick;" title="새창열림" target="_blank">저작권e배움터</a></li> <li><a href="#goLink" onclick="goLink('user');return false;" onkeypress="this.onclick;" title="새창열림" target="_blank">저작권e배움터</a></li>
<li><a href="#goLink" onclick="goLink('dsprUser');return false;" onkeypress="this.onclick;" title="새창열림" target="_blank">장애인e배움터</a></li> <li><a href="#goLink" onclick="goLink('dsprUser');return false;" onkeypress="this.onclick;" title="새창열림" target="_blank">장애인e배움터</a></li>
<li class="on"><a href="#goLink" onclick="goLink('offedu');return false;" onkeypress="this.onclick;" title="새창열림" target="_blank">저작권배움터</a></li> <li class="on"><a href="#goLink" onclick="goLink('offedu');return false;" onkeypress="this.onclick;" title="새창열림" target="_blank">저작권배움터</a></li>
</c:if>
</ul> </ul>
</div> </div>
<!-- <div class="area_left"> <!-- <div class="area_left">
@ -314,12 +312,10 @@ function usrJoin(){
<div class="top_link"> <div class="top_link">
<ul> <ul>
<!-- 240119 요청으로 인하여 운영서버는 링크 제외 --> <!-- 240119 요청으로 인하여 운영서버는 링크 제외 -->
<c:if test="${environment ne 'real' }">
<li><a href="#goLink" onclick="goLink('portal');return false;" onkeypress="this.onclick;" title="새창열림" target="_blank">포털사이트</a></li> <li><a href="#goLink" onclick="goLink('portal');return false;" onkeypress="this.onclick;" title="새창열림" target="_blank">포털사이트</a></li>
<li><a href="#goLink" onclick="goLink('user');return false;" onkeypress="this.onclick;" title="새창열림" target="_blank">저작권e배움터</a></li> <li><a href="#goLink" onclick="goLink('user');return false;" onkeypress="this.onclick;" title="새창열림" target="_blank">저작권e배움터</a></li>
<li><a href="#goLink" onclick="goLink('dsprUser');return false;" onkeypress="this.onclick;" title="새창열림" target="_blank">장애인e배움터</a></li> <li><a href="#goLink" onclick="goLink('dsprUser');return false;" onkeypress="this.onclick;" title="새창열림" target="_blank">장애인e배움터</a></li>
<li class="on"><a href="#goLink" onclick="goLink('offedu');return false;" onkeypress="this.onclick;" title="새창열림" target="_blank">저작권배움터</a></li> <li class="on"><a href="#goLink" onclick="goLink('offedu');return false;" onkeypress="this.onclick;" title="새창열림" target="_blank">저작권배움터</a></li>
</c:if>
</ul> </ul>
</div> </div>
<!--<div class="area_left"> <!--<div class="area_left">

View File

@ -1526,7 +1526,8 @@
</th> </th>
<td colspan="3"> <td colspan="3">
<label for="lctrSbjct" class="label">강의주제 입력</label> <label for="lctrSbjct" class="label">강의주제 입력</label>
<input type="text" id="lctrSbjct" name="lctrSbjct" placeholder="대학생이 알아야할 저작권"> <input type="hidden" id="lctrSbjct" name="lctrSbjct" placeholder="대학생이 알아야할 저작권" value="<c:out value="${info.hopeSbjct}"/>">
<c:out value="${info.hopeSbjct}"/>
</td> </td>
</tr> </tr>
<c:forEach var="list" items="${chasiList}" varStatus="status"> <c:forEach var="list" items="${chasiList}" varStatus="status">
@ -1684,7 +1685,7 @@
<p>강의주제</p> <p>강의주제</p>
</th> </th>
<td colspan="3"> <td colspan="3">
<c:out value="${info.lctrSbjct }" /> <c:out value="${info.hopeSbjct}"/>
</td> </td>
</tr> </tr>
<c:forEach var="list" items="${chasiList}" varStatus="status"> <c:forEach var="list" items="${chasiList}" varStatus="status">

View File

@ -140,29 +140,34 @@
var veryDissatisfied = $("#veryDissatisfied_"+i).val(); var veryDissatisfied = $("#veryDissatisfied_"+i).val();
if(verySatisfied == null || verySatisfied == ""){ if(verySatisfied == null || verySatisfied == ""){
alert((i+1)+"번 [매우만족] 만족도를 정확히 넣어주세요"); $("#verySatisfied_"+i).val("0");
/* alert((i+1)+"번 [매우만족] 만족도를 정확히 넣어주세요");
$("#verySatisfied_"+i).focus(); $("#verySatisfied_"+i).focus();
return return */
} }
if(satisfied == null || satisfied == ""){ if(satisfied == null || satisfied == ""){
alert((i+1)+"번 [만족] 만족도를 정확히 넣어주세요"); $("#satisfied_"+i).val("0");
/* alert((i+1)+"번 [만족] 만족도를 정확히 넣어주세요");
$("#satisfied_"+i).focus(); $("#satisfied_"+i).focus();
return return */
} }
if(neither == null || neither == ""){ if(neither == null || neither == ""){
alert((i+1)+"번 [보통] 만족도를 정확히 넣어주세요"); $("#neither_"+i).val("0");
/* alert((i+1)+"번 [보통] 만족도를 정확히 넣어주세요");
$("#neither_"+i).focus(); $("#neither_"+i).focus();
return return */
} }
if(dissatisfied == null || dissatisfied == ""){ if(dissatisfied == null || dissatisfied == ""){
alert((i+1)+"번 [불만족] 만족도를 정확히 넣어주세요"); $("#dissatisfied_"+i).val("0");
/* alert((i+1)+"번 [불만족] 만족도를 정확히 넣어주세요");
$("#dissatisfied_"+i).focus(); $("#dissatisfied_"+i).focus();
return return */
} }
if(veryDissatisfied == null || veryDissatisfied == ""){ if(veryDissatisfied == null || veryDissatisfied == ""){
alert((i+1)+"번 [매우불만족] 만족도를 정확히 넣어주세요"); $("#veryDissatisfied_"+i).val("0");
/* alert((i+1)+"번 [매우불만족] 만족도를 정확히 넣어주세요");
$("#veryDissatisfied_"+i).focus(); $("#veryDissatisfied_"+i).focus();
return return */
} }
var sum = Number(verySatisfied) + Number(satisfied) + Number(neither) + Number(dissatisfied) + Number(veryDissatisfied); var sum = Number(verySatisfied) + Number(satisfied) + Number(neither) + Number(dissatisfied) + Number(veryDissatisfied);

View File

@ -322,9 +322,12 @@ $( document ).ready(function() {
<p>강사 참석 확인서</p> <p>강사 참석 확인서</p>
</th> </th>
<td class="file_download onlyFile" colspan="3"> <td class="file_download onlyFile" colspan="3">
<c:import url="/cmm/fms/selectScholSealInfs.do" charEncoding="utf-8"> <%-- <c:import url="/cmm/fms/selectScholSealInfs.do" charEncoding="utf-8">
<c:param name="param_atchFileId" value="${info.attendAtchFileId}" /> <c:param name="param_atchFileId" value="${info.attendAtchFileId}" />
</c:import> </c:import> --%>
<c:if test="${!empty info.attendAtchFileId}">
<button type="button" class="btnType01 popupOpenBtn" onclick="location.href='${pageContext.request.contextPath}/cmm/fms/FileDown.do?atchFileId=${info.attendAtchFileId}&fileSn=0'" title="강사 참석 확인서 다운로드">강사 참석 확인서 다운로드</button>
</c:if>
</td> </td>
</tr> </tr>
</tbody> </tbody>

View File

@ -317,7 +317,8 @@
<td> <td>
<c:choose> <c:choose>
<c:when test="${not empty list.avgScore}"> <c:when test="${not empty list.avgScore}">
<fmt:formatNumber value="${list.avgScore}" pattern="#,###"/>점 <%-- <fmt:formatNumber value="${list.avgScore}" pattern="#,###"/>점 --%>
<fmt:formatNumber value="${list.avgScoreFloat}" pattern=".0"/>점
</c:when> </c:when>
<c:otherwise> <c:otherwise>
등록된 설문없음 등록된 설문없음