2024-07-02 12:10 차시별 통계 정보 수정

This commit is contained in:
myname 2024-07-02 12:10:31 +09:00
parent ff9e98b833
commit 4439108591
2 changed files with 20 additions and 13 deletions

View File

@ -2311,6 +2311,7 @@
vea_sspn_idmt_trgt a vea_sspn_idmt_trgt a
, ve_edu_aplct b , ve_edu_aplct b
, ve_prcs_aplct_prd c , ve_prcs_aplct_prd c
, vea_aplct_detail_info d
WHERE SUBSTRING(c.edu_strt_pnttm,1,4)=#mngNmbrYr# WHERE SUBSTRING(c.edu_strt_pnttm,1,4)=#mngNmbrYr#
AND b.aprvl_cd='60' AND b.aprvl_cd='60'
@ -2324,6 +2325,9 @@
AND a.edu_state_cd = #searchEduStateCd# AND a.edu_state_cd = #searchEduStateCd#
</isNotEmpty> </isNotEmpty>
AND b.EDU_APLCT_ORD =d.EDU_APLCT_ORD
AND d.aplct_state_cd = '20'
GROUP BY GROUP BY
SUBSTRING(c.edu_strt_pnttm,6,2) SUBSTRING(c.edu_strt_pnttm,6,2)
, b.prcs_ord , b.prcs_ord
@ -2391,13 +2395,14 @@
SUBSTRING(c.edu_strt_pnttm,6,2) AS CMPTNT_ATHRT SUBSTRING(c.edu_strt_pnttm,6,2) AS CMPTNT_ATHRT
, count(*) AS cnt , count(*) AS cnt
, b.prcs_ord , b.prcs_ord
, sum(CASE WHEN a.edu_state_cd='20' THEN 1 ELSE 0 END) AS edu_cd_20 , sum(CASE WHEN a.edu_state_cd='20' AND d.aplct_state_cd = '20' THEN 1 ELSE 0 END) AS edu_cd_20
, sum(CASE WHEN a.edu_state_cd='40' THEN 1 ELSE 0 END) AS edu_cd_40 , sum(CASE WHEN d.aplct_state_cd='10' THEN 1 ELSE 0 END) AS edu_cd_40
, sum(CASE WHEN a.edu_state_cd='50' THEN 1 ELSE 0 END) AS edu_cd_50 , sum(CASE WHEN d.aplct_state_cd='60' THEN 1 ELSE 0 END) AS edu_cd_50
FROM FROM
vea_sspn_idmt_trgt a vea_sspn_idmt_trgt a
, ve_edu_aplct b , ve_edu_aplct b
, ve_prcs_aplct_prd c , ve_prcs_aplct_prd c
, vea_aplct_detail_info d
WHERE SUBSTRING(c.edu_strt_pnttm,1,4)=#mngNmbrYr# WHERE SUBSTRING(c.edu_strt_pnttm,1,4)=#mngNmbrYr#
AND b.aprvl_cd='60' AND b.aprvl_cd='60'
@ -2409,6 +2414,8 @@
AND a.edu_state_cd IN ('20','40','50') /* 20-이수 40-미이수 50-연기 */ AND a.edu_state_cd IN ('20','40','50') /* 20-이수 40-미이수 50-연기 */
AND b.EDU_APLCT_ORD =d.EDU_APLCT_ORD
GROUP BY GROUP BY
SUBSTRING(c.edu_strt_pnttm,6,2) SUBSTRING(c.edu_strt_pnttm,6,2)
, b.prcs_ord , b.prcs_ord

View File

@ -787,15 +787,15 @@
<c:out value="${list.phone}"/> <c:out value="${list.phone}"/>
</td> </td>
<td> <td>
<ve:code codeId="VEA002" code="${list.eduStateCd}"/> <%-- <ve:code codeId="VEA002" code="${list.eduStateCd}"/> --%>
<%-- <c:choose> --%> <c:choose>
<%-- <c:when test="${list.eduStateCd eq 50 }"> --%> <c:when test="${list.aplctStateCd eq 10 or list.aplctStateCd eq 60}">
<%-- <ve:code codeId="VEA002" code="${list.eduStateCd}"/> --%> <ve:code codeId="VEA003" code="${list.aplctStateCd}"/>
<%-- </c:when> --%> </c:when>
<%-- <c:otherwise> --%> <c:otherwise>
<%-- <ve:code codeId="VEA003" code="${list.aplctStateCd}"/> --%> <ve:code codeId="VEA002" code="${list.eduStateCd}"/>
<%-- </c:otherwise> --%> </c:otherwise>
<%-- </c:choose> --%> </c:choose>
</td> </td>
<td> <td>
<c:if test="${list.aprvlCd ne '40'}"><!-- 취소 승인 상태는 변경 불가능 하도록 수정--> <c:if test="${list.aprvlCd ne '40'}"><!-- 취소 승인 상태는 변경 불가능 하도록 수정-->