2024-05-02 17:54 성인 강사만족도 다운로드 수정
This commit is contained in:
parent
110f97ce45
commit
ca9563448b
@ -33,6 +33,8 @@ public class VEEduSatisfactionExcelVO {
|
|||||||
private String disSatisfied; //정렬순서
|
private String disSatisfied; //정렬순서
|
||||||
private String veryDisSatisfied; //정렬순서
|
private String veryDisSatisfied; //정렬순서
|
||||||
|
|
||||||
|
private String qustnrCn;
|
||||||
|
|
||||||
|
|
||||||
public String getEduHopeDt() {
|
public String getEduHopeDt() {
|
||||||
return eduHopeDt;
|
return eduHopeDt;
|
||||||
@ -226,4 +228,12 @@ public class VEEduSatisfactionExcelVO {
|
|||||||
this.insttNm = insttNm;
|
this.insttNm = insttNm;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getQustnrCn() {
|
||||||
|
return qustnrCn;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setQustnrCn(String qustnrCn) {
|
||||||
|
this.qustnrCn = qustnrCn;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -913,17 +913,20 @@ public class EduRsltMngAdultController {
|
|||||||
int[] width = {
|
int[] width = {
|
||||||
4000, 4000, 4000, 4000, 4000
|
4000, 4000, 4000, 4000, 4000
|
||||||
, 4000, 4000, 4000, 4000, 4000
|
, 4000, 4000, 4000, 4000, 4000
|
||||||
|
, 4000
|
||||||
}; // 너비
|
}; // 너비
|
||||||
|
|
||||||
//33개 항목
|
//33개 항목
|
||||||
String[] header = {
|
String[] header = {
|
||||||
"교육일자", "기관(단체)명", "강사명", "순번", "질문"
|
"교육일자", "기관(단체)명", "강사명", "순번", "질문"
|
||||||
, "매우만족", "만족", "보통", "불만족", "매우불만족"
|
, "매우만족", "만족", "보통", "불만족", "매우불만족"
|
||||||
|
, "기타의견"
|
||||||
};
|
};
|
||||||
|
|
||||||
String[] order = {
|
String[] order = {
|
||||||
"EduHopeDt", "InsttNm", "InstrNm", "QestnSn", "QestnCn"
|
"EduHopeDt", "InsttNm", "InstrNm", "QestnSn", "QestnCn"
|
||||||
, "VerySatisfied", "Satisfied", "Neither", "DisSatisfied", "VeryDisSatisfied"
|
, "VerySatisfied", "Satisfied", "Neither", "DisSatisfied", "VeryDisSatisfied"
|
||||||
|
, "QustnrCn"
|
||||||
};
|
};
|
||||||
|
|
||||||
// 호출
|
// 호출
|
||||||
|
|||||||
@ -7243,6 +7243,8 @@ VALUES
|
|||||||
, cc.dissatisfied
|
, cc.dissatisfied
|
||||||
, cc.veryDissatisfied
|
, cc.veryDissatisfied
|
||||||
|
|
||||||
|
, cc.qustnrCn
|
||||||
|
|
||||||
FROM (
|
FROM (
|
||||||
SELECT
|
SELECT
|
||||||
a.edu_aplct_ord AS eduAplctOrd ,
|
a.edu_aplct_ord AS eduAplctOrd ,
|
||||||
@ -7494,6 +7496,8 @@ VALUES
|
|||||||
, c.EDU_APLCT_ORD
|
, c.EDU_APLCT_ORD
|
||||||
, c.EDU_CHASI_ORD
|
, c.EDU_CHASI_ORD
|
||||||
|
|
||||||
|
, CASE WHEN b.qestn_sn=1 THEN h.QUSTNR_CN ELSE '' END AS qustnrCn
|
||||||
|
|
||||||
|
|
||||||
FROM LETTNQESTNRINFO a
|
FROM LETTNQESTNRINFO a
|
||||||
, LETTNQUSTNRQESITM b
|
, LETTNQUSTNRQESITM b
|
||||||
@ -7505,13 +7509,14 @@ VALUES
|
|||||||
c00.qustnr_tmplat_id
|
c00.qustnr_tmplat_id
|
||||||
, c00.qestnr_id
|
, c00.qestnr_id
|
||||||
, c00.qustnr_qesitm_id
|
, c00.qustnr_qesitm_id
|
||||||
, max(c00.qustnr_rslt_id) AS qustnr_rslt_id
|
, c00.qustnr_rslt_id AS qustnr_rslt_id
|
||||||
FROM
|
FROM
|
||||||
LETTNQESTNRRSLTDetail c00
|
LETTNQESTNRRSLTDetail c00
|
||||||
GROUP BY
|
GROUP BY
|
||||||
c00.qustnr_tmplat_id
|
c00.qustnr_tmplat_id
|
||||||
, c00.qestnr_id
|
, c00.qestnr_id
|
||||||
, c00.qustnr_qesitm_id
|
, c00.qustnr_qesitm_id
|
||||||
|
, c00.qustnr_rslt_id
|
||||||
)c01
|
)c01
|
||||||
, LETTNQESTNRRSLTDetail c02
|
, LETTNQESTNRRSLTDetail c02
|
||||||
WHERE c01.qustnr_tmplat_id=c02.qustnr_tmplat_id
|
WHERE c01.qustnr_tmplat_id=c02.qustnr_tmplat_id
|
||||||
@ -7566,6 +7571,7 @@ VALUES
|
|||||||
, c.QUSTNR_QESITM_ID
|
, c.QUSTNR_QESITM_ID
|
||||||
, c.EDU_APLCT_ORD
|
, c.EDU_APLCT_ORD
|
||||||
, c.EDU_CHASI_ORD
|
, c.EDU_CHASI_ORD
|
||||||
|
, c.QUSTNR_RSLT_ID
|
||||||
|
|
||||||
, sum(c.very_satisfied) AS cvery_satisfied
|
, sum(c.very_satisfied) AS cvery_satisfied
|
||||||
, sum(c.satisfied) AS csatisfied
|
, sum(c.satisfied) AS csatisfied
|
||||||
@ -7580,6 +7586,7 @@ VALUES
|
|||||||
, c.QUSTNR_QESITM_ID
|
, c.QUSTNR_QESITM_ID
|
||||||
, c.EDU_APLCT_ORD
|
, c.EDU_APLCT_ORD
|
||||||
, c.EDU_CHASI_ORD
|
, c.EDU_CHASI_ORD
|
||||||
|
, c.QUSTNR_RSLT_ID
|
||||||
|
|
||||||
|
|
||||||
)F
|
)F
|
||||||
@ -7587,9 +7594,20 @@ VALUES
|
|||||||
b.QUSTNR_TMPLAT_ID =f.QUSTNR_TMPLAT_ID
|
b.QUSTNR_TMPLAT_ID =f.QUSTNR_TMPLAT_ID
|
||||||
AND b.QESTNR_ID =f.QESTNR_ID
|
AND b.QESTNR_ID =f.QESTNR_ID
|
||||||
AND b.QUSTNR_QESITM_ID =f.QUSTNR_QESITM_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
|
, LETTNQUSTNRQESITM G
|
||||||
|
|
||||||
WHERE a.site_id=#siteId#
|
WHERE a.site_id=#siteId#
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user