2023-11-01 11:05 수정 사항 적용
This commit is contained in:
parent
b0e78a3642
commit
51884b2911
@ -19,7 +19,7 @@ public interface VEAStngMixService {
|
|||||||
|
|
||||||
//교육가능시수 데이터 - 교육가능시수 세부 선택 데이터
|
//교육가능시수 데이터 - 교육가능시수 세부 선택 데이터
|
||||||
List<VEAStngVO> selectList_VEALPPS_2(VEAStngVO paramVO) throws Exception; // LIST
|
List<VEAStngVO> selectList_VEALPPS_2(VEAStngVO paramVO) throws Exception; // LIST
|
||||||
|
|
||||||
//강의가능기간에 불가능한 일자 가져오기
|
//강의가능기간에 불가능한 일자 가져오기
|
||||||
List<VEAStngVO> selectList_VEALPPS_3(VEAStngVO paramVO) throws Exception; // LIST
|
List<VEAStngVO> selectList_VEALPPS_3(VEAStngVO paramVO) throws Exception; // LIST
|
||||||
|
|
||||||
|
|||||||
@ -96,6 +96,7 @@ public class VEAStngVO extends ComDefaultVO implements Serializable {
|
|||||||
|
|
||||||
//etc
|
//etc
|
||||||
private String code; //설정 년도
|
private String code; //설정 년도
|
||||||
|
private String psblTmQnttyCnt; //실제 신청 차시(관리자 달력용)
|
||||||
|
|
||||||
private String dpStrtDt; //표시용시작일자
|
private String dpStrtDt; //표시용시작일자
|
||||||
private String dpStrtTm; //표시용시작시간
|
private String dpStrtTm; //표시용시작시간
|
||||||
@ -595,5 +596,11 @@ public class VEAStngVO extends ComDefaultVO implements Serializable {
|
|||||||
public void setAsgnmChasi0(String asgnmChasi0) {
|
public void setAsgnmChasi0(String asgnmChasi0) {
|
||||||
this.asgnmChasi0 = asgnmChasi0;
|
this.asgnmChasi0 = asgnmChasi0;
|
||||||
}
|
}
|
||||||
|
public String getPsblTmQnttyCnt() {
|
||||||
|
return psblTmQnttyCnt;
|
||||||
|
}
|
||||||
|
public void setPsblTmQnttyCnt(String psblTmQnttyCnt) {
|
||||||
|
this.psblTmQnttyCnt = psblTmQnttyCnt;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -232,9 +232,13 @@
|
|||||||
, ccc.yr
|
, ccc.yr
|
||||||
, bbb.DT_PSBL_TM_QNTTY_ORD AS dtPsblTmQnttyOrd
|
, bbb.DT_PSBL_TM_QNTTY_ORD AS dtPsblTmQnttyOrd
|
||||||
, CASE
|
, CASE
|
||||||
WHEN ddd.LCTR_PSBL_PRD_ORD IS NOT NULL THEN '불가능'
|
WHEN ddd.LCTR_PSBL_PRD_ORD IS NOT NULL THEN '불가능'
|
||||||
WHEN bbb.DT_PSBL_TM_QNTTY_ORD IS NULL THEN to_char(ccc.psbl_tm_qntty)
|
WHEN bbb.DT_PSBL_TM_QNTTY_ORD IS NULL THEN to_char(NVL(fff.psblTmQnttyCnt,0))||'/'||to_char(ccc.psbl_tm_qntty)
|
||||||
ELSE to_char(bbb.PSBL_TM_QNTTY)
|
ELSE to_char(NVL(fff.psblTmQnttyCnt,0))||'/'||to_char(bbb.PSBL_TM_QNTTY)
|
||||||
|
/*
|
||||||
|
ELSE to_char(NVL(fff.psblTmQnttyCnt,0))||'/'||to_char(bbb.PSBL_TM_QNTTY)
|
||||||
|
ELSE to_char(bbb.PSBL_TM_QNTTY)
|
||||||
|
*/
|
||||||
END AS title
|
END AS title
|
||||||
/*
|
/*
|
||||||
, ddd.LCTR_PSBL_PRD_ORD
|
, ddd.LCTR_PSBL_PRD_ORD
|
||||||
@ -333,7 +337,42 @@
|
|||||||
on(
|
on(
|
||||||
aaa.datez_str BETWEEN eee.lctr_psbl_strt_dt AND eee.lctr_psbl_ddln_dt
|
aaa.datez_str BETWEEN eee.lctr_psbl_strt_dt AND eee.lctr_psbl_ddln_dt
|
||||||
AND eee.lctr_psbl_yn='Y'
|
AND eee.lctr_psbl_yn='Y'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
/* Step5.사용자 교육신청 차시(요청 이상)를 가져오고 */
|
||||||
|
LEFT OUTER JOIN (
|
||||||
|
|
||||||
|
|
||||||
|
SELECT d.edu_hope_dt, SUM(d.chasi) AS psblTmQnttyCnt
|
||||||
|
, replace(d.edu_hope_dt,'.','-')
|
||||||
|
FROM vea_lctr_rnds_stng a ,
|
||||||
|
vea_lctr_rnds_stng b ,
|
||||||
|
ve_edu_aplct c ,
|
||||||
|
ve_edu_chasi d
|
||||||
|
WHERE 1 =1
|
||||||
|
AND a.yr =b.yr
|
||||||
|
AND b.RNDS_ORD =c.RNDS_ORD
|
||||||
|
AND c.EDU_APLCT_ORD =d.EDU_APLCT_ORD
|
||||||
|
AND NVL(c.use_yn,'Y')='Y'
|
||||||
|
AND c.SBMT_YN = 'Y'
|
||||||
|
/* 요청(10), 선정완료(120), 승인(20), 교육확정(60), 수정요청(70), 수정요청 완료(80), 대기 수량(230)을 모두 카운트 한다.
|
||||||
|
* 참고용 취소(40)
|
||||||
|
* */
|
||||||
|
AND c.aprvl_cd IN ('10',
|
||||||
|
'120',
|
||||||
|
'20',
|
||||||
|
'60',
|
||||||
|
'70',
|
||||||
|
'80',
|
||||||
|
'230')
|
||||||
|
GROUP BY d.edu_hope_dt
|
||||||
|
|
||||||
|
|
||||||
|
) fff
|
||||||
|
on(
|
||||||
|
aaa.datez=replace(fff.edu_hope_dt,'.','-')
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
/* Step5.각 년도의 기본 시수를 가져온다. */
|
/* Step5.각 년도의 기본 시수를 가져온다. */
|
||||||
, vea_lctr_yr_stng ccc
|
, vea_lctr_yr_stng ccc
|
||||||
@ -366,12 +405,42 @@
|
|||||||
, b.dt_psbl_tm_qntty_ord AS dtPsblTmQnttyOrd
|
, b.dt_psbl_tm_qntty_ord AS dtPsblTmQnttyOrd
|
||||||
, b.trgt_dt AS trgtDt
|
, b.trgt_dt AS trgtDt
|
||||||
, CASE WHEN b.PSBL_TM_QNTTY IS NULL THEN a.PSBL_TM_QNTTY ELSE b.PSBL_TM_QNTTY END AS psblTmQntty
|
, CASE WHEN b.PSBL_TM_QNTTY IS NULL THEN a.PSBL_TM_QNTTY ELSE b.PSBL_TM_QNTTY END AS psblTmQntty
|
||||||
|
, nvl(fff.psblTmQnttyCnt,0) AS ttlRgstrChasi
|
||||||
, #dpStrtDt# AS dpStrtDt
|
, #dpStrtDt# AS dpStrtDt
|
||||||
FROM vea_lctr_yr_stng a
|
FROM vea_lctr_yr_stng a
|
||||||
LEFT OUTER JOIN vea_dt_psbl_tm_qntty_stng b
|
LEFT OUTER JOIN vea_dt_psbl_tm_qntty_stng b
|
||||||
on(
|
on(
|
||||||
b.DT_PSBL_TM_QNTTY_ORD =#dtPsblTmQnttyOrd#
|
b.DT_PSBL_TM_QNTTY_ORD =#dtPsblTmQnttyOrd#
|
||||||
)
|
)
|
||||||
|
/* Step5.사용자 교육신청 차시(요청 이상)를 가져오고 */
|
||||||
|
LEFT OUTER JOIN
|
||||||
|
( SELECT d.edu_hope_dt,
|
||||||
|
SUM(d.chasi) AS psblTmQnttyCnt ,
|
||||||
|
REPLACE(d.edu_hope_dt,'.','-')
|
||||||
|
FROM vea_lctr_rnds_stng a ,
|
||||||
|
vea_lctr_rnds_stng b ,
|
||||||
|
ve_edu_aplct c ,
|
||||||
|
ve_edu_chasi d
|
||||||
|
WHERE 1 =1
|
||||||
|
AND a.yr =b.yr
|
||||||
|
AND b.RNDS_ORD =c.RNDS_ORD
|
||||||
|
AND c.EDU_APLCT_ORD =d.EDU_APLCT_ORD
|
||||||
|
AND NVL(c.use_yn,'Y')='Y'
|
||||||
|
AND c.SBMT_YN = 'Y'
|
||||||
|
/* 요청(10), 선정완료(120), 승인(20), 교육확정(60), 수정요청(70), 수정요청 완료(80), 대기 수량(230)을 모두 카운트 한다. * 참고용 취소(40) * */
|
||||||
|
AND c.aprvl_cd IN ('10',
|
||||||
|
'120',
|
||||||
|
'20',
|
||||||
|
'60',
|
||||||
|
'70',
|
||||||
|
'80',
|
||||||
|
'230')
|
||||||
|
GROUP BY d.edu_hope_dt
|
||||||
|
)
|
||||||
|
fff
|
||||||
|
ON (
|
||||||
|
#dpStrtDt#=REPLACE(fff.edu_hope_dt,'.','-')
|
||||||
|
)
|
||||||
WHERE a.yr=#yr#
|
WHERE a.yr=#yr#
|
||||||
|
|
||||||
</select>
|
</select>
|
||||||
|
|||||||
@ -190,6 +190,7 @@
|
|||||||
<td>
|
<td>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
<c:out value="${selectBasicInfo.ttlRgstrChasi}"/>/
|
||||||
|
|
||||||
<input type="text" id="psblTmQntty" name="psblTmQntty" class="search_input"
|
<input type="text" id="psblTmQntty" name="psblTmQntty" class="search_input"
|
||||||
style="width: 140px; border-radius: 5px; vertical-align: middle;"
|
style="width: 140px; border-radius: 5px; vertical-align: middle;"
|
||||||
|
|||||||
@ -485,10 +485,29 @@ var psblFlag = "Y";//학생 신청가능기간여부 체크
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*작동안되어서 하기로 대체
|
||||||
if($("#agree").length > 0 && $('#agree').val() != 'Y'){
|
if($("#agree").length > 0 && $('#agree').val() != 'Y'){
|
||||||
alert('개인정보 수집 및 이용 목적에 동의하셔야합니다.');
|
alert('개인정보 수집 및 이용 목적에 동의하셔야합니다.');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
|
var fnAgree = true;
|
||||||
|
|
||||||
|
$('input:checkbox[name="agree"]:checked').each(function(idx) {
|
||||||
|
/*
|
||||||
|
if($(this).attr("class") != "60") {
|
||||||
|
alert("선택한 목록 중 교욱확정알림이 불가능한 건이 있습니다.");
|
||||||
|
fnAgree = true;
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
fnAgree = false;
|
||||||
|
});
|
||||||
|
|
||||||
|
if(fnAgree){
|
||||||
|
alert('개인정보 수집 및 이용 목적에 동의하셔야합니다.');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user