기소유예 대상자 조회 쿼리 개선
This commit is contained in:
parent
94d60b1029
commit
b872a917dd
@ -485,10 +485,14 @@ public class SspnIdtmtController {
|
|||||||
|
|
||||||
String id = sspnIdtmtService.findByTrgtNm(cndtnTrgtInfoMngVO);
|
String id = sspnIdtmtService.findByTrgtNm(cndtnTrgtInfoMngVO);
|
||||||
|
|
||||||
|
String result="";
|
||||||
modelAndView.addObject("result", "success");
|
if(StringUtils.isNotEmpty(id)) {
|
||||||
|
result = "success";
|
||||||
|
}
|
||||||
|
modelAndView.addObject("result", result);
|
||||||
modelAndView.addObject("id", id);
|
modelAndView.addObject("id", id);
|
||||||
|
|
||||||
|
|
||||||
return modelAndView;
|
return modelAndView;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -174,7 +174,6 @@ public class CndtnTrgtMngController {
|
|||||||
//3.pageing step3
|
//3.pageing step3
|
||||||
paginationInfo = this.setCndtnPagingStep3(cndtnTrgtInfoMngVOList, paginationInfo);
|
paginationInfo = this.setCndtnPagingStep3(cndtnTrgtInfoMngVOList, paginationInfo);
|
||||||
|
|
||||||
System.out.println("paginationInfo :: "+ paginationInfo.getTotalRecordCount());
|
|
||||||
model.addAttribute("paginationInfo", paginationInfo);
|
model.addAttribute("paginationInfo", paginationInfo);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -72,7 +72,7 @@
|
|||||||
#sspnIdtmtTrgtOrd#
|
#sspnIdtmtTrgtOrd#
|
||||||
, #userId#
|
, #userId#
|
||||||
, #eduStateCd#
|
, #eduStateCd#
|
||||||
, now()
|
, SYSDATE
|
||||||
, #frstRegisterId#
|
, #frstRegisterId#
|
||||||
, #lastUpdtPnttm#
|
, #lastUpdtPnttm#
|
||||||
, #lastUpdusrId#
|
, #lastUpdusrId#
|
||||||
|
|||||||
@ -121,8 +121,7 @@
|
|||||||
|
|
||||||
UPDATE VE_EDU_APLCT
|
UPDATE VE_EDU_APLCT
|
||||||
SET aprvl_cd = #aprvlCd#
|
SET aprvl_cd = #aprvlCd#
|
||||||
WHERE prcs_aplct_prd_ord = #prcsAplctPrdOrd#
|
WHERE edu_aplct_ord IN
|
||||||
AND edu_aplct_ord IN
|
|
||||||
<iterate property="eduAplctOrdList" open="(" close=")" conjunction=",">
|
<iterate property="eduAplctOrdList" open="(" close=")" conjunction=",">
|
||||||
#eduAplctOrdList[]#
|
#eduAplctOrdList[]#
|
||||||
</iterate>
|
</iterate>
|
||||||
@ -134,8 +133,7 @@
|
|||||||
|
|
||||||
UPDATE VEA_APLCT_DETAIL_INFO
|
UPDATE VEA_APLCT_DETAIL_INFO
|
||||||
SET aplct_state_cd = #aplctStateCd#
|
SET aplct_state_cd = #aplctStateCd#
|
||||||
WHERE prcs_aplct_prd_ord = #prcsAplctPrdOrd#
|
WHERE edu_aplct_ord IN
|
||||||
AND edu_aplct_ord IN
|
|
||||||
<iterate property="eduAplctOrdList" open="(" close=")" conjunction=",">
|
<iterate property="eduAplctOrdList" open="(" close=")" conjunction=",">
|
||||||
#eduAplctOrdList[]#
|
#eduAplctOrdList[]#
|
||||||
</iterate>
|
</iterate>
|
||||||
|
|||||||
@ -342,9 +342,9 @@
|
|||||||
<!-- //list -->
|
<!-- //list -->
|
||||||
|
|
||||||
<!-- page -->
|
<!-- page -->
|
||||||
<%-- <div class="page">
|
<div class="page">
|
||||||
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
|
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
|
||||||
</div> --%>
|
</div>
|
||||||
<div class="btn_wrap btn_layout01">
|
<div class="btn_wrap btn_layout01">
|
||||||
<div class="btn_left">
|
<div class="btn_left">
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -31,7 +31,7 @@
|
|||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
//세부과정 추가 버튼 클릭 시 세부과정 추가
|
//세부과정 추가 버튼 클릭 시 세부과정 추가
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$('#dBirth').on('input', function() {
|
/* $('#dBirth').on('input', function() {
|
||||||
var input = $(this).val();
|
var input = $(this).val();
|
||||||
var length = input.length;
|
var length = input.length;
|
||||||
var lastChar = input.charAt(length - 1);
|
var lastChar = input.charAt(length - 1);
|
||||||
@ -46,7 +46,7 @@
|
|||||||
if (length === 4 || length === 7) {
|
if (length === 4 || length === 7) {
|
||||||
$(this).val(input + '-');
|
$(this).val(input + '-');
|
||||||
}
|
}
|
||||||
});
|
}); */
|
||||||
});
|
});
|
||||||
|
|
||||||
function fncSave(){
|
function fncSave(){
|
||||||
@ -185,7 +185,7 @@
|
|||||||
|
|
||||||
<!-- cont_tit -->
|
<!-- cont_tit -->
|
||||||
<div class="cont_tit">
|
<div class="cont_tit">
|
||||||
<h2>대상자 목록</h2>
|
<h2>대상자 등록</h2>
|
||||||
<ul class="cont_nav">
|
<ul class="cont_nav">
|
||||||
<li class="home"><a href="/"><i></i></a></li>
|
<li class="home"><a href="/"><i></i></a></li>
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@ -132,6 +132,7 @@ $(document).ready(function(){
|
|||||||
|
|
||||||
function fn_confirm(){
|
function fn_confirm(){
|
||||||
|
|
||||||
|
console.log('??');
|
||||||
|
|
||||||
var form = document.confirmForm;
|
var form = document.confirmForm;
|
||||||
var dBirth = $('#dBirth').val().replace(/\./g, '');
|
var dBirth = $('#dBirth').val().replace(/\./g, '');
|
||||||
@ -154,6 +155,7 @@ $(document).ready(function(){
|
|||||||
contentType: false,
|
contentType: false,
|
||||||
cache: false,
|
cache: false,
|
||||||
success:function(returnData){
|
success:function(returnData){
|
||||||
|
console.log('returnData : ', returnData);
|
||||||
if(returnData.result == "success"){
|
if(returnData.result == "success"){
|
||||||
// 대상자 테이블 pk 값
|
// 대상자 테이블 pk 값
|
||||||
var sspnIdtmtTrgtOrd = returnData.id;
|
var sspnIdtmtTrgtOrd = returnData.id;
|
||||||
@ -166,6 +168,8 @@ $(document).ready(function(){
|
|||||||
} else {
|
} else {
|
||||||
alert("대상자에 없습니다.");
|
alert("대상자에 없습니다.");
|
||||||
}
|
}
|
||||||
|
}else{
|
||||||
|
alert("대상자에 없습니다.");
|
||||||
}
|
}
|
||||||
fn_target_confirm_clean();
|
fn_target_confirm_clean();
|
||||||
|
|
||||||
|
|||||||
@ -54,9 +54,9 @@
|
|||||||
<h2>기소유예 대시보드</h2>
|
<h2>기소유예 대시보드</h2>
|
||||||
</div>
|
</div>
|
||||||
<ul class="edu_process">
|
<ul class="edu_process">
|
||||||
<li class="edu_apply"><i></i><div class="text_area">신청중 강의<p><span><c:out value="${countMap['COUNT_APRVL_CD_10']}" /></span>건</p></div></li>
|
<li class="edu_apply"><i></i><div class="text_area">신청중 강의<p><span><c:out value="${empty countMap['COUNT_APRVL_CD_10'] ? '0' : countMap['COUNT_APRVL_CD_10']}" /></span>건</p></div></li>
|
||||||
<li class="edu_register"><i></i><div class="text_area">수강중 강의<p><span><c:out value="${countMap['COUNT_APRVL_CD_20']}" /></span>건</p></div></li>
|
<li class="edu_register"><i></i><div class="text_area">수강중 강의<p><span><c:out value="${empty countMap['COUNT_APRVL_CD_20'] ? '0' : countMap['COUNT_APRVL_CD_20']} " /></span>건</p></div></li>
|
||||||
<li class="edu_close"><i></i><div class="text_area">종료된 강의<p><span><c:out value="${countMap['COUNT_END_CD']}" /></span>건</p></div></li>
|
<li class="edu_close"><i></i><div class="text_area">종료된 강의<p><span><c:out value="${empty countMap['COUNT_END_CD'] ? '0' : countMap['COUNT_END_CD']}" /></span>건</p></div></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div class="tb_tit02">
|
<div class="tb_tit02">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user