2024-05-02 17:54 성인 강사만족도 다운로드 수정

This commit is contained in:
myname 2024-05-02 17:54:32 +09:00
parent 110f97ce45
commit ca9563448b
3 changed files with 36 additions and 5 deletions

View File

@ -33,6 +33,8 @@ public class VEEduSatisfactionExcelVO {
private String disSatisfied; //정렬순서
private String veryDisSatisfied; //정렬순서
private String qustnrCn;
public String getEduHopeDt() {
return eduHopeDt;
@ -226,4 +228,12 @@ public class VEEduSatisfactionExcelVO {
this.insttNm = insttNm;
}
public String getQustnrCn() {
return qustnrCn;
}
public void setQustnrCn(String qustnrCn) {
this.qustnrCn = qustnrCn;
}
}

View File

@ -913,17 +913,20 @@ public class EduRsltMngAdultController {
int[] width = {
4000, 4000, 4000, 4000, 4000
, 4000, 4000, 4000, 4000, 4000
, 4000
}; // 너비
//33개 항목
String[] header = {
"교육일자", "기관(단체)명", "강사명", "순번", "질문"
, "매우만족", "만족", "보통", "불만족", "매우불만족"
, "기타의견"
};
String[] order = {
"EduHopeDt", "InsttNm", "InstrNm", "QestnSn", "QestnCn"
, "VerySatisfied", "Satisfied", "Neither", "DisSatisfied", "VeryDisSatisfied"
, "QustnrCn"
};
// 호출

View File

@ -7243,6 +7243,8 @@ VALUES
, cc.dissatisfied
, cc.veryDissatisfied
, cc.qustnrCn
FROM (
SELECT
a.edu_aplct_ord AS eduAplctOrd ,
@ -7494,6 +7496,8 @@ VALUES
, c.EDU_APLCT_ORD
, c.EDU_CHASI_ORD
, CASE WHEN b.qestn_sn=1 THEN h.QUSTNR_CN ELSE '' END AS qustnrCn
FROM LETTNQESTNRINFO a
, LETTNQUSTNRQESITM b
@ -7505,13 +7509,14 @@ VALUES
c00.qustnr_tmplat_id
, c00.qestnr_id
, c00.qustnr_qesitm_id
, max(c00.qustnr_rslt_id) AS qustnr_rslt_id
, c00.qustnr_rslt_id AS qustnr_rslt_id
FROM
LETTNQESTNRRSLTDetail c00
GROUP BY
c00.qustnr_tmplat_id
, c00.qestnr_id
, c00.qustnr_qesitm_id
, c00.qustnr_rslt_id
)c01
, LETTNQESTNRRSLTDetail c02
WHERE c01.qustnr_tmplat_id=c02.qustnr_tmplat_id
@ -7566,6 +7571,7 @@ VALUES
, c.QUSTNR_QESITM_ID
, c.EDU_APLCT_ORD
, c.EDU_CHASI_ORD
, c.QUSTNR_RSLT_ID
, sum(c.very_satisfied) AS cvery_satisfied
, sum(c.satisfied) AS csatisfied
@ -7580,6 +7586,7 @@ VALUES
, c.QUSTNR_QESITM_ID
, c.EDU_APLCT_ORD
, c.EDU_CHASI_ORD
, c.QUSTNR_RSLT_ID
)F
@ -7587,9 +7594,20 @@ VALUES
b.QUSTNR_TMPLAT_ID =f.QUSTNR_TMPLAT_ID
AND b.QESTNR_ID =f.QESTNR_ID
AND b.QUSTNR_QESITM_ID =f.QUSTNR_QESITM_ID
AND c.QUSTNR_RSLT_ID =f.QUSTNR_RSLT_ID
)
LEFT OUTER JOIN (
SELECT qestnr_id, edu_chasi_ord, max(qustnr_cn) AS qustnr_cn
FROM vea_sul_opinion
GROUP BY qestnr_id, edu_chasi_ord
) h
on( b.QESTNR_ID = h.QESTNR_ID
AND c.edu_chasi_ord = h.edu_chasi_ord
)
, LETTNQUSTNRQESITM G
WHERE a.site_id=#siteId#