2024-04-16 15:11 실무역량 데이터 오류 수정

This commit is contained in:
myname 2024-04-16 15:13:18 +09:00
parent 2992776a3b
commit 4d546bf138
4 changed files with 105 additions and 26 deletions

View File

@ -567,7 +567,7 @@ public class CndtnInstrMngController {
}
//통계- 월별 지역별 교육인원(그래프 포함)
//통계- 대상별 교육의뢰현황(그래프 포함)
{
//vEInstrDetailVODetail.setNo3("20"); /* 10-횟수, 20-인원 */
//vEInstrDetailVODetail.setInstrNm(vEInstrDetailVODetail.getSearchKeyword());
@ -581,29 +581,24 @@ public class CndtnInstrMngController {
}
//통계- 월별 강사종류별,강사별 교육횟수(그래프 포함)
//통계- 검찰청별 교육 수료 현황(그래프 포함)
{
vEInstrDetailVODetail = egovCryptoUtil.encryptVEInstrDetailVO(vEInstrDetailVODetail);
List<VELctrDetailVO> selectAsgnmInfoT2List_no4 = vEInstrMixService.selectEduPrfrmInfo_tngr_no4(vEInstrDetailVODetail);
vEInstrDetailVODetail = egovCryptoUtil.encryptVEInstrDetailVO(vEInstrDetailVODetail);
List<VELctrDetailVO> selectAsgnmInfoT4List_no4 = vEInstrMixService.selectEduPrfrmInfo_csi_no1(vEInstrDetailVODetail);
//복호화
selectAsgnmInfoT2List_no4 = egovCryptoUtil.decryptVELctrDetailVOList(selectAsgnmInfoT2List_no4);
model.addAttribute("list_no4",selectAsgnmInfoT2List_no4);
model.addAttribute("list_no4",selectAsgnmInfoT4List_no4);
}
// 월별 교육대상별 교육횟수(그래프 포함) - 대상이 없어서 제공안됨
// 월별 교육대상별 교육횟수(그래프 포함) - 대상이 없어서 제공안됨
// 월별 교육수료현황(그래프 포함) - 대상이 없어서 제공안됨
{
}
// 대상별 교육수료현황(그래프 포함) - 대상이 없어서 제공안됨
{
}
// 월별 교육대상별 교육인원(그래프 포함) - 대상이 없어서 제공안됨
{
//vEInstrDetailVODetail.setInstrNm(vEInstrDetailVODetail.getSearchKeyword());
vEInstrDetailVODetail = egovCryptoUtil.encryptVEInstrDetailVO(vEInstrDetailVODetail);
List<VELctrDetailVO> selectAsgnmInfoT2List_no5_no_6_no7 = vEInstrMixService.selectEduPrfrmInfo_adult_no5_no6_no7(vEInstrDetailVODetail);
//복호화
selectAsgnmInfoT2List_no5_no_6_no7 = egovCryptoUtil.decryptVELctrDetailVOList(selectAsgnmInfoT2List_no5_no_6_no7);
model.addAttribute("list_no5_no6_no7",selectAsgnmInfoT2List_no5_no_6_no7);
}
//통계- 인구감소지역별 교육횟수 교육인원, 교육기관, 교육일자(그래프 포함)) - 대상이 없어서 제공안됨
/*
@ -915,6 +910,84 @@ public class CndtnInstrMngController {
return modelAndView;
}
/**
* 교육실적통계 Excel - 조건부기소유예 - 3대상별 교육 의뢰 현황(그래프 포함)
* @param model
* @return
* @throws Exception
*/
@SuppressWarnings("rawtypes")
@RequestMapping(value = "/kccadr/oprtn/cndtnSspnIdtmt/eduPrfrmMngExcelDownLoad_csi_no3.do")
public ModelAndView eduPrfrmMngExcelDownLoad_csi_no3(
@ModelAttribute("vEEduAplctVO") VEEduAplctVO vEEduAplctVO
, @ModelAttribute("vEInstrDetailVODetail") VEInstrDetailVO vEInstrDetailVODetail
, ModelMap model
) throws Exception {
ModelAndView modelAndView = new ModelAndView();
modelAndView.setViewName("excelDownloadView");
try {
//통계- 월별 횟수/교육인원(그래프 포함)
//vEInstrDetailVODetail.setInstrNm(vEInstrDetailVODetail.getSearchKeyword());
vEInstrDetailVODetail = egovCryptoUtil.encryptVEInstrDetailVO(vEInstrDetailVODetail);
List<VELctrDetailVO> selectAsgnmInfoT3List = vEInstrMixService.selectEduPrfrmInfo_csi_no3(vEInstrDetailVODetail);
//복호화
//selectAsgnmInfoT2List = egovCryptoUtil.decryptVELctrDetailVOList(selectAsgnmInfoT2List);
System.out.println("out-list-2");
selectAsgnmInfoT3List.get(2).setCodeNm("합계");
List<Object> excelData = new ArrayList<>();
excelData.addAll(selectAsgnmInfoT3List);
// 세팅값
String title = "교육실적통계-대상별 교육 의뢰 현황";
int[] width = {
4000, 4000
}; // 너비
//33개 항목
String[] header = {
"대상"
, "의뢰(명)"
};
String[] order = {
"CodeNm"
, "Cnt"
};
excelDown(
excelData,
title,
width,
header,
order,
model
);
}catch(Exception ep) {
ep.getStackTrace();
}
modelAndView.addObject(model);
return modelAndView;
}
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
//

View File

@ -754,6 +754,13 @@ public class FndthInstrMngController {
try {
i_ret = vEPrcsAplctPrdService.updateStatusChange4User4Fndtn(vEPrcsAplctVO);
if (vEPrcsAplctVO.getAplctStateCd()==null)
{
//VEPrcsDetailVO vEDetailVO = new VEPrcsDetailVO();
vEPrcsAplctVO.setFrstRegisterId(loginVO.getUniqId());
vEAPrcsAplctPrdInstrAsgnmService.insertAprvlCdEduAplctDetail(vEPrcsAplctVO);
}
}catch(Exception ex) {
System.out.println(ex.toString());
}

View File

@ -91,6 +91,7 @@
</insert>
<select id="VEAPrcsAplctPrdInstrAsgnmDAO.selectAprvlCdEduAplctDetail" parameterClass="VEPrcsDetailVO" resultClass="VEPrcsDetailVO">
/* VEAPrcsAplctPrdInstrAsgnmDAO.selectAprvlCdEduAplctDetail */
select
prcs_aplct_prd_ord as prcsAplctPrdOrd
, edu_aplct_ord as eduAplctOrd

View File

@ -95,12 +95,9 @@
}
function excelDownLoad_no3(){
/*
var listForm = document.listForm ;
listForm.action = "<c:url value='/kccadr/oprtn/cndtnSspnIdtmt/eduPrfrmMngExcelDownLoad_csi_no2.do'/>";
listForm.action = "<c:url value='/kccadr/oprtn/cndtnSspnIdtmt/eduPrfrmMngExcelDownLoad_csi_no3.do'/>";
listForm.submit();
*/
alert("준비중입니다.");
}
function excelDownLoad_no4(){
@ -556,7 +553,7 @@
<p class="list_util_p">총 건수 : <span><c:out value="${paginationInfo.totalRecordCount}" /></span>건</p>
-->
<p class="list_util_p">
3.대상별 교육 의뢰 현황
대상별 교육 의뢰 현황
</p>
<div>
<!-- <button type="button" class="btn_down_excel" onclick="excelDownLoadArea();">엑셀 다운로드(강의지역)</button> -->
@ -719,3 +716,4 @@
</form:form>
</body>
</html>
<!-- ① ② ③ ④ ⑤ ⑥ ⑦ ⑧ ⑨ -->