체험교실 진행중

This commit is contained in:
hylee 2023-12-18 17:28:26 +09:00
parent 884b16f17d
commit dc15bcddd9
2 changed files with 11 additions and 13 deletions

View File

@ -45,6 +45,7 @@ import kcc.com.cmm.spring.data.util.ExcelUtil;
import kcc.com.cmm.util.IpUtil; import kcc.com.cmm.util.IpUtil;
import kcc.com.cmm.util.StringUtil; import kcc.com.cmm.util.StringUtil;
import kcc.com.utl.user.service.CheckLoginUtil; import kcc.com.utl.user.service.CheckLoginUtil;
import kcc.let.uss.notify.service.NotifyManageService;
import kcc.let.utl.fcc.service.EgovCryptoUtil; import kcc.let.utl.fcc.service.EgovCryptoUtil;
import kcc.ve.cmm.VeConstants; import kcc.ve.cmm.VeConstants;
import kcc.ve.instr.tngrVisitEdu.asgnmInfo.service.VEEduExcelVO; import kcc.ve.instr.tngrVisitEdu.asgnmInfo.service.VEEduExcelVO;
@ -128,6 +129,9 @@ public class OprtnAplctMngController {
@Resource(name = "vEPrcsAplctPrdService") @Resource(name = "vEPrcsAplctPrdService")
private VEPrcsAplctPrdService vEPrcsAplctPrdService; private VEPrcsAplctPrdService vEPrcsAplctPrdService;
@Resource(name = "NotifyManageService")
private NotifyManageService notifyManageService;
/** /**
* 저작권체험교실 목록 화면 * 저작권체험교실 목록 화면
*/ */
@ -230,12 +234,15 @@ public class OprtnAplctMngController {
*/ */
@RequestMapping("oprtnAplctMngDetail.do") @RequestMapping("oprtnAplctMngDetail.do")
public String oprtnAplctMngDetail( @ModelAttribute("vEEduAplctVO") VEEduAplctVO vEEduAplctVO , ModelMap model , HttpSession session, HttpServletRequest request ) throws Exception { public String oprtnAplctMngDetail( @ModelAttribute("vEEduAplctVO") VEEduAplctVO vEEduAplctVO , ModelMap model , HttpSession session, HttpServletRequest request ) throws Exception {
notifyManageService.updateNotifyChkWhereCmmNotifyOrd(vEEduAplctVO.getCmmNotifyOrd());
LoginVO user = EgovUserDetailsHelper.isAuthenticated()? (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser():null; LoginVO user = EgovUserDetailsHelper.isAuthenticated()? (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser():null;
//기본데이터 불러오기 //기본데이터 불러오기
vEEduAplctVO = vEEduAplctService.selectOprtnDetail(vEEduAplctVO); vEEduAplctVO = vEEduAplctService.selectOprtnDetail(vEEduAplctVO);
//데이터 복호화 - VO 단위로 만들어서 사용 //데이터 복호화 - VO 단위로 만들어서 사용
vEEduAplctVO = egovCryptoUtil.decryptVEEduAplctVOInfo(vEEduAplctVO); vEEduAplctVO = egovCryptoUtil.decryptVEEduAplctVOInfo(vEEduAplctVO);

View File

@ -102,14 +102,12 @@ function fn_goDetail(cmmNotifyOrd){
<div class="list tbType01"> <div class="list tbType01">
<table> <table>
<colgroup> <colgroup>
<col style="width: 3%">
<col style="width: 3%"> <col style="width: 3%">
<col style="width: 15%"> <col style="width: 15%">
<col style="width: 10%"> <col style="width: 10%">
</colgroup> </colgroup>
<thead> <thead>
<tr> <tr>
<th scope="col">확인여부</th>
<th scope="col">분야</th> <th scope="col">분야</th>
<th scope="col">메세지</th> <th scope="col">메세지</th>
<th scope="col">등록일</th> <th scope="col">등록일</th>
@ -119,16 +117,9 @@ function fn_goDetail(cmmNotifyOrd){
<c:forEach var="list" items="${list}" varStatus="status"> <c:forEach var="list" items="${list}" varStatus="status">
<tr onclick="fn_goDetail('${list.cmmNotifyOrd}')" style="cursor: pointer;" > <tr onclick="fn_goDetail('${list.cmmNotifyOrd}')" style="cursor: pointer;" >
<td> <td>
<c:choose> <c:if test="${list.notifyChk ne 'Y'}">
<c:when test="${list.notifyChk ne 'Y'}"> <span class="new_icon">NEW</span>
new </c:if>
</c:when>
<c:otherwise>
<span class="new_icon">NEW</span>확인완료
</c:otherwise>
</c:choose>
</td>
<td>
<ve:code codeId="VE0011" code="${list.lctrDivCd}"/> <ve:code codeId="VE0011" code="${list.lctrDivCd}"/>
</td> </td>
<td> <td>