이지우 - 사용자 저작권체험교실 : 신청기간 내 수정하기 기능 활성화
This commit is contained in:
parent
611ef9d183
commit
7ff2e8ab85
@ -331,6 +331,9 @@ public class ExprnClsrmAplctController {
|
|||||||
|
|
||||||
model.addAttribute("info", vEEduAplctVO);
|
model.addAttribute("info", vEEduAplctVO);
|
||||||
|
|
||||||
|
//등록일이 과정신청기간에 포함 되는지 확인 - 신청기간에 포함되며 신청 단계의 경우 수정 기능 추가
|
||||||
|
int cnt = vEEduAplctService.selectCntAplctPrd(vEEduAplctVO);
|
||||||
|
model.addAttribute("cnt", cnt);
|
||||||
return "/web/ve/aplct/cpyrgExprnClsrm/exprnClsrmInfo/exprnClsrmAplctDetail";
|
return "/web/ve/aplct/cpyrgExprnClsrm/exprnClsrmInfo/exprnClsrmAplctDetail";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -41,4 +41,6 @@ public interface VEEduAplctService {
|
|||||||
|
|
||||||
//관리번호 max값 가져오기
|
//관리번호 max값 가져오기
|
||||||
int selectMngNoMax(VEEduAplctVO veEduAplctVO) throws Exception;
|
int selectMngNoMax(VEEduAplctVO veEduAplctVO) throws Exception;
|
||||||
|
|
||||||
|
int selectCntAplctPrd(VEEduAplctVO veEduAplctVO) throws Exception;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -113,4 +113,8 @@ public class VEEduAplctDAO extends EgovAbstractDAO {
|
|||||||
return (int) select("VEEduAplctDAO.selectTotalChasi", paramVO);
|
return (int) select("VEEduAplctDAO.selectTotalChasi", paramVO);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int selectCntAplctPrd(VEEduAplctVO veEduAplctVO) throws Exception {
|
||||||
|
return (int) select("VEEduAplctDAO.selectCntAplctPrd",veEduAplctVO);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -148,4 +148,9 @@ public class VEEduAplctServiceImpl implements VEEduAplctService {
|
|||||||
public int selectMngNoMax(VEEduAplctVO veEduAplctVO) throws Exception {
|
public int selectMngNoMax(VEEduAplctVO veEduAplctVO) throws Exception {
|
||||||
return vEEduAplctDAO.selectMngNoMax(veEduAplctVO);
|
return vEEduAplctDAO.selectMngNoMax(veEduAplctVO);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int selectCntAplctPrd(VEEduAplctVO veEduAplctVO) throws Exception {
|
||||||
|
return vEEduAplctDAO.selectCntAplctPrd(veEduAplctVO);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -988,4 +988,13 @@
|
|||||||
AND
|
AND
|
||||||
b.edu_hope_dt between #searchStartDt# AND #searchEndDt#
|
b.edu_hope_dt between #searchStartDt# AND #searchEndDt#
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
<select id="VEEduAplctDAO.selectCntAplctPrd" parameterClass="VEEduAplctVO" resultClass="int">
|
||||||
|
SELECT
|
||||||
|
COUNT(a.prcs_aplct_prd_ord)
|
||||||
|
FROM
|
||||||
|
ve_prcs_aplct_prd a
|
||||||
|
WHERE a.USE_YN = 'Y'
|
||||||
|
AND REPLACE(#sbmtPnttm#, '-', '') BETWEEN SUBSTR(a.strt_pnttm,1,6) AND SUBSTR(a.end_pnttm,1,6);
|
||||||
|
</select>
|
||||||
</sqlMap>
|
</sqlMap>
|
||||||
|
|||||||
@ -21,7 +21,6 @@
|
|||||||
</style>
|
</style>
|
||||||
<script type="text/javaScript" language="javascript">
|
<script type="text/javaScript" language="javascript">
|
||||||
$( document ).ready(function(){
|
$( document ).ready(function(){
|
||||||
|
|
||||||
});
|
});
|
||||||
function fncGoList(){
|
function fncGoList(){
|
||||||
var listForm = document.listForm ;
|
var listForm = document.listForm ;
|
||||||
@ -494,6 +493,10 @@
|
|||||||
</c:if>
|
</c:if>
|
||||||
<button type="button" class="btnType06" onclick="fncGoEdit();">수정</button>
|
<button type="button" class="btnType06" onclick="fncGoEdit();">수정</button>
|
||||||
</c:if>
|
</c:if>
|
||||||
|
<!-- 23.07031 - 신청기간 내 수정 기능 추가 -->
|
||||||
|
<c:if test="${info.aprvlCd eq VeConstants.STATUS_CD_SBMT and cnt > 0}">
|
||||||
|
<button type="button" class="btnType06" onclick="fncGoEdit();">수정</button>
|
||||||
|
</c:if>
|
||||||
<button type="button" class="btnType02 m_btn_block" onclick="fncGoList();">목록</button>
|
<button type="button" class="btnType02 m_btn_block" onclick="fncGoList();">목록</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user