This commit is contained in:
ITN_디자인팀 2024-02-08 12:39:33 +09:00
commit 21dd846951
33 changed files with 1005 additions and 282 deletions

View File

@ -457,6 +457,25 @@ public class InnorixFileServiceImpl extends EgovAbstractServiceImpl implements I
//저장 //저장
vEAPrcsAplctPrdInstrAsgnmService.updatLctrPlanAtchFileId(vEAPrcsAplctPrdInstrAsgnmVO); vEAPrcsAplctPrdInstrAsgnmService.updatLctrPlanAtchFileId(vEAPrcsAplctPrdInstrAsgnmVO);
System.out.println("vEAPrcsAplctPrdInstrAsgnmVO");
System.out.println(vEAPrcsAplctPrdInstrAsgnmVO);
//강의계획서제출 알림
try {
iTNotiUtil.insertNotifyNew_60(
adrInnorixFileVO.getLctrDivCd(),
adrInnorixFileVO.getUniqId(),
VeConstants.NOTI_STATUS_31,
adrInnorixFileVO.getPrcsAplctPrdOrd(),
"",
"1",
"1"
);
}catch(Exception ex) {
ex.printStackTrace();
}
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
return new RestResponse(HttpStatus.BAD_REQUEST, "등록에 실패하였습니다.", LocalDateTime.now()); return new RestResponse(HttpStatus.BAD_REQUEST, "등록에 실패하였습니다.", LocalDateTime.now());
@ -714,7 +733,22 @@ public class InnorixFileServiceImpl extends EgovAbstractServiceImpl implements I
//저장 //저장
vEAPrcsAplctPrdInstrAsgnmService.updatDocAtchFileId(vEAPrcsAplctPrdInstrAsgnmVO); vEAPrcsAplctPrdInstrAsgnmService.updatDocAtchFileId(vEAPrcsAplctPrdInstrAsgnmVO);
//결과보고서 제출 알림
try {
iTNotiUtil.insertNotifyNew_60(
adrInnorixFileVO.getLctrDivCd(),
adrInnorixFileVO.getUniqId(),
VeConstants.NOTI_STATUS_51,
adrInnorixFileVO.getPrcsAplctPrdOrd(),
"",
"1",
"1"
);
}catch(Exception ex) {
ex.printStackTrace();
}
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
return new RestResponse(HttpStatus.BAD_REQUEST, "등록에 실패하였습니다.", LocalDateTime.now()); return new RestResponse(HttpStatus.BAD_REQUEST, "등록에 실패하였습니다.", LocalDateTime.now());

View File

@ -17,7 +17,6 @@ import egovframework.rte.fdl.security.userdetails.util.EgovUserDetailsHelper;
import kcc.com.cmm.LoginVO; import kcc.com.cmm.LoginVO;
import kcc.com.cmm.util.StringUtil; import kcc.com.cmm.util.StringUtil;
import kcc.com.utl.fcc.service.EgovStringUtil; import kcc.com.utl.fcc.service.EgovStringUtil;
import kcc.kccadr.accdnt.ans.service.AnsVO;
import kcc.kccadr.cmm.RestResponse; import kcc.kccadr.cmm.RestResponse;
import kcc.kccadr.cmm.innorix.service.AdrInnorixFileVO; import kcc.kccadr.cmm.innorix.service.AdrInnorixFileVO;
import kcc.kccadr.cmm.innorix.service.InnorixFileService; import kcc.kccadr.cmm.innorix.service.InnorixFileService;
@ -160,6 +159,10 @@ public class InnorixFileController {
adrInnorixFileVO.setUniqId(userId); adrInnorixFileVO.setUniqId(userId);
} }
System.out.println("adrInnorixFileVO");
System.out.println(adrInnorixFileVO);
System.out.println(adrInnorixFileVO);
return ResponseEntity.ok(innorixService.insertInnorixLctrPlanFile(adrInnorixFileVO)); return ResponseEntity.ok(innorixService.insertInnorixLctrPlanFile(adrInnorixFileVO));
} }

View File

@ -80,6 +80,8 @@ public class NotifyManageVO extends ComDefaultVO implements Serializable {
private String params; //파라미터들 private String params; //파라미터들
private String prcsAplctPrdOrd; //기소, 기반 신청순번 private String prcsAplctPrdOrd; //기소, 기반 신청순번
private String prcsNm; //과정명
private String prcsOrd; //과정순번
public String getCmmNotifyOrd() { public String getCmmNotifyOrd() {
@ -196,6 +198,18 @@ public class NotifyManageVO extends ComDefaultVO implements Serializable {
public void setPrcsAplctPrdOrd(String prcsAplctPrdOrd) { public void setPrcsAplctPrdOrd(String prcsAplctPrdOrd) {
this.prcsAplctPrdOrd = prcsAplctPrdOrd; this.prcsAplctPrdOrd = prcsAplctPrdOrd;
} }
public String getPrcsNm() {
return prcsNm;
}
public void setPrcsNm(String prcsNm) {
this.prcsNm = prcsNm;
}
public String getPrcsOrd() {
return prcsOrd;
}
public void setPrcsOrd(String prcsOrd) {
this.prcsOrd = prcsOrd;
}

View File

@ -36,6 +36,10 @@ public class NotifyManageDAO extends EgovAbstractDAO {
return (List<NotifyManageVO>) list("VEANotifyMngDAO.selectInstrList", notifyManageVO); return (List<NotifyManageVO>) list("VEANotifyMngDAO.selectInstrList", notifyManageVO);
} }
public List<NotifyManageVO> selectAplctList(NotifyManageVO notifyManageVO) {
return (List<NotifyManageVO>) list("VEANotifyMngDAO.selectAplctList", notifyManageVO);
}
public void mngInsert(NotifyManageVO notifyManageVO) { public void mngInsert(NotifyManageVO notifyManageVO) {
insert("VEANotifyMngDAO.mngInsert", notifyManageVO); insert("VEANotifyMngDAO.mngInsert", notifyManageVO);
} }
@ -88,6 +92,10 @@ public class NotifyManageDAO extends EgovAbstractDAO {
return (NotifyManageVO) select("VEANotifyDAO.findByUserIdFromVE_EDU_DOC_REQ_2", eduAplctOrd); return (NotifyManageVO) select("VEANotifyDAO.findByUserIdFromVE_EDU_DOC_REQ_2", eduAplctOrd);
} }
public NotifyManageVO findByUserIdFromVE_PRCS_APLCT_PRD(String eduAplctOrd) {
return (NotifyManageVO) select("VEANotifyDAO.findByUserIdFromVE_PRCS_APLCT_PRD", eduAplctOrd);
}
public String selectNotifyInstr(NotifyManageVO notifyManageVO) { public String selectNotifyInstr(NotifyManageVO notifyManageVO) {
return (String) select("VEANotifyDAO.selectNotifyInstr", notifyManageVO); return (String) select("VEANotifyDAO.selectNotifyInstr", notifyManageVO);
} }

View File

@ -501,7 +501,7 @@ public class NotifyManageServiceImpl extends EgovAbstractServiceImpl implements
); //- 관련화면 URL ); //- 관련화면 URL
p_notifyManageVO.setNotifyCn( p_notifyManageVO.setNotifyCn(
this._makeNotifyCn(s_lctrDivCd, p_noti_status) this._makeNotifyCn(s_lctrDivCd, p_noti_status, p_notifyManageVO)
); //- noti 내용 ); //- noti 내용
@ -512,8 +512,7 @@ public class NotifyManageServiceImpl extends EgovAbstractServiceImpl implements
//notifyManageVO.setToUserId(notifyManageDAO.findByUserIdFromVE_EDU_APLCT(eduAplctOrd)); //notifyManageVO.setToUserId(notifyManageDAO.findByUserIdFromVE_EDU_APLCT(eduAplctOrd));
//notifyManageDAO.insertNotifyInfo(p_notifyManageVO); //notifyManageDAO.insertNotifyInfo(p_notifyManageVO);
this._findToUserIdNInsertNoti(p_notifyManageVO, s_lctrDivCd, p_noti_status); this._findToUserIdNInsertNoti(p_notifyManageVO, s_lctrDivCd, p_noti_status);
} }
//알림 링크 정보 만들기 //알림 링크 정보 만들기
@ -657,9 +656,68 @@ public class NotifyManageServiceImpl extends EgovAbstractServiceImpl implements
} }
else if( "50".equals(p_lctrDivCd) ) { //실무 else if( "50".equals(p_lctrDivCd) ) { //실무
notifyPath = "/web/ve/aplct/cpyrgExprnClsrm/exprnClsrmInfo/exprnClsrmAplctDetail.do"; notifyPath = "/web/ve/aplct/cpyrgExprnClsrm/exprnClsrmInfo/exprnClsrmAplctDetail.do";
if ("10".equals(p_noti_status)) {
notifyPath = "/kccadr/oprtn/fndthEnhanceTrn/fndthEduPrcsAplctPrdMngDetail.do"; //운영자 - 교육신청관리 - 상세
}else if (
"153".equals(p_noti_status) //교육확정
||"154".equals(p_noti_status) //교육취소
||"61".equals(p_noti_status) //강의만족도제출요청
) {
notifyPath = "/web/ve/aplct/fndtnEnhanceTrn/main.do"; //운영자 - 교육신청관리 - 상세
}else if (
"31".equals(p_noti_status) //강의계획서 제출
||"51".equals(p_noti_status) //결과보고서 제출
||"62".equals(p_noti_status) //강의만족도 제출
) {
notifyPath = "/kccadr/oprtn/fndthEnhanceTrn/fndthEduPrcsAplctCfnMngDetail.do"; //운영자 - 강의계획서
}else if (
"91".equals(p_noti_status) //교육문의
) {
notifyPath = "/kccadr/oprtn/fndthEnhanceTrn/fndthEduQnaMngList.do"; //운영자 - 교육문의
}else if (
"92".equals(p_noti_status) //교육문의답변
) {
notifyPath = "/web/ve/aplct/fndtnEnhanceTrn/main.do"; //사용자 - 교육문의 게시판
}
} }
else if( "60".equals(p_lctrDivCd) ) { //기소유예 else if( "60".equals(p_lctrDivCd) ) { //기소유예
notifyPath = "/web/ve/aplct/cpyrgExprnClsrm/exprnClsrmInfo/exprnClsrmAplctDetail.do"; notifyPath = "/web/ve/aplct/cpyrgExprnClsrm/exprnClsrmInfo/exprnClsrmAplctDetail.do";
if ("10".equals(p_noti_status)) {
notifyPath = "/kccadr/oprtn/cndtnSspnIdtmt/cndtnEduPrcsAplctPrdMngDetail.do"; //운영자 - 교육신청관리 - 상세
}else if (
"151".equals(p_noti_status) //교육승인
||"152".equals(p_noti_status) //교육반려
||"153".equals(p_noti_status) //교육확정
) {
notifyPath = "/web/ve/aplct/sspnIdtmt/main.do"; //운영자 - 교육신청관리 - 상세
}else if (
"100".equals(p_noti_status) //강사배정확정
) {
notifyPath = "/web/ve/instr/sspnIdtmt/asgnmInfo/instrAsgnmList.do"; //강사 - 강의내역목록
}else if (
"31".equals(p_noti_status) //강의계획서 제출
) {
notifyPath = "/kccadr/oprtn/cndtnSspnIdtmt/cndtnEduPrcsAplctCfnMngDetail.do"; //운영자 - 강의계획서
}else if (
"91".equals(p_noti_status) //교육문의
) {
notifyPath = "/kccadr/oprtn/cndtnSspnIdtmt/cndtnEduQnaMngList.do"; //운영자 - 교육문의
}else if (
"92".equals(p_noti_status) //교육문의답변
) {
notifyPath = "/web/ve/aplct/sspnIdtmt/eduFAQList.do"; //사용자 - 교육문의 게시판
}
} }
return notifyPath; return notifyPath;
@ -811,6 +869,80 @@ public class NotifyManageServiceImpl extends EgovAbstractServiceImpl implements
//notifyManageListVO = notifyManageDAO.selectInstrList(p_notifyManageVO); //notifyManageListVO = notifyManageDAO.selectInstrList(p_notifyManageVO);
} }
}else if( "50".equals(p_lctrDivCd) ) { //실무역량
if (
"10".equals(p_noti_status) //10-교육신청
||"31".equals(p_noti_status) //31-강의계획서
||"51".equals(p_noti_status) //51-결과보고서제출
||"62".equals(p_noti_status) //62-강의만족도제출
||"91".equals(p_noti_status) //91-교육문의
) { //10-교육신청
//담당 관리자에게 모두 알림
p_notifyManageVO.setFirstIndex(0);
p_notifyManageVO.setRecordCountPerPage(1000);
// 담당자 조회
notifyManageListVO = notifyManageDAO.selectMngPagingList(p_notifyManageVO);
} else if (
"153".equals(p_noti_status) //153-교육확정
) {
// 신청자 ID 가져오기
notifyManageListVO = notifyManageDAO.selectAplctList(p_notifyManageVO); //prcsAplctPrdOrd
} else if (
"154".equals(p_noti_status) //154-접수취소
) {
// 신청자 ID 가져오기
notifyManageListVO = notifyManageDAO.selectAplctList(p_notifyManageVO); //prcsAplctPrdOrd
} else if (
"92".equals(p_noti_status) //92-교육문의답변
||"61".equals(p_noti_status) //61-강의만족도제출요청
) {
// 강사 ID 가져오기
p_notifyManageVO.setToUserId(p_notifyManageVO.getEduAplctOrd());
}
}else if( "60".equals(p_lctrDivCd) ) { //기소유예
if (
"10".equals(p_noti_status) //10-교육신청
||"31".equals(p_noti_status) //31-강의계획서
||"91".equals(p_noti_status) //91-교육문의
) { //10-교육신청
//담당 관리자에게 모두 알림
p_notifyManageVO.setFirstIndex(0);
p_notifyManageVO.setRecordCountPerPage(1000);
// 담당자 조회
notifyManageListVO = notifyManageDAO.selectMngPagingList(p_notifyManageVO);
} else if (
"151".equals(p_noti_status) //151-교육승인
||"152".equals(p_noti_status) //152-교육반려
) {
//해당 신청자에게 알림
p_notifyManageVO.setToUserId(notifyManageDAO.findByUserIdFromVE_EDU_APLCT(p_notifyManageVO.getEduAplctOrd()));
} else if (
"153".equals(p_noti_status) //153-교육확정
) {
// 신청자 ID 가져오기
notifyManageListVO = notifyManageDAO.selectAplctList(p_notifyManageVO); //prcsAplctPrdOrd
} else if (
"100".equals(p_noti_status) //100-강사배정확정
) {
// 강사 ID 가져오기
p_notifyManageVO.setToUserId(p_notifyManageVO.getEduAplctOrd());
} else if (
"92".equals(p_noti_status) //92-교육문의답변
) {
// 강사 ID 가져오기
p_notifyManageVO.setToUserId(p_notifyManageVO.getEduAplctOrd());
}
} }
//담당자 처리 알림 DB 등록 //담당자 처리 알림 DB 등록
@ -849,6 +981,7 @@ public class NotifyManageServiceImpl extends EgovAbstractServiceImpl implements
// 70-강사활동확인서, 71-강사활동확인서 신청, 72-강사활동확인서 승인 // 70-강사활동확인서, 71-강사활동확인서 신청, 72-강사활동확인서 승인
// 80-정보수정, 81-정보수정요청, 82-정보수정승인 // 80-정보수정, 81-정보수정요청, 82-정보수정승인
// 90-교육문의, 91-교육문의건, 92교육문의 답변 // 90-교육문의, 91-교육문의건, 92교육문의 답변
, NotifyManageVO p_notifyManageVO
) throws FdlException{ ) throws FdlException{
String notifyCn = ""; String notifyCn = "";
@ -963,10 +1096,85 @@ public class NotifyManageServiceImpl extends EgovAbstractServiceImpl implements
notifyCn = "/web/ve/aplct/cpyrgExprnClsrm/exprnClsrmInfo/exprnClsrmAplctDetail.do"; notifyCn = "/web/ve/aplct/cpyrgExprnClsrm/exprnClsrmInfo/exprnClsrmAplctDetail.do";
} }
else if( "50".equals(p_lctrDivCd) ) { //실무 else if( "50".equals(p_lctrDivCd) ) { //실무
notifyCn = "/web/ve/aplct/cpyrgExprnClsrm/exprnClsrmInfo/exprnClsrmAplctDetail.do"; if ("10".equals(p_noti_status)) {
//과정명 가져오기
NotifyManageVO t_notifyManageVO = notifyManageDAO.findByUserIdFromVE_PRCS_APLCT_PRD(p_notifyManageVO.getPrcsAplctPrdOrd());
notifyCn = "`"+t_notifyManageVO.getPrcsNm()+"` 교육신청 건이 있습니다.";
}else if ("153".equals(p_noti_status)) {
//과정명 가져오기
NotifyManageVO t_notifyManageVO = notifyManageDAO.findByUserIdFromVE_PRCS_APLCT_PRD(p_notifyManageVO.getPrcsAplctPrdOrd());
notifyCn = "`"+t_notifyManageVO.getPrcsNm()+"` 저작권 교육 확정 건이 있습니다.";
}else if ("154".equals(p_noti_status)) {
//과정명 가져오기
NotifyManageVO t_notifyManageVO = notifyManageDAO.findByUserIdFromVE_PRCS_APLCT_PRD(p_notifyManageVO.getPrcsAplctPrdOrd());
notifyCn = "`"+t_notifyManageVO.getPrcsNm()+"` 저작권 교육 접수 취소건이 있습니다.";
}else if ("31".equals(p_noti_status)) {
//과정명 가져오기
NotifyManageVO t_notifyManageVO = notifyManageDAO.findByUserIdFromVE_PRCS_APLCT_PRD(p_notifyManageVO.getPrcsAplctPrdOrd());
notifyCn = "`"+t_notifyManageVO.getPrcsNm()+"` 강의계획서 제출 건이 있습니다.";
}else if ("51".equals(p_noti_status)) {
//과정명 가져오기
NotifyManageVO t_notifyManageVO = notifyManageDAO.findByUserIdFromVE_PRCS_APLCT_PRD(p_notifyManageVO.getPrcsAplctPrdOrd());
notifyCn = "`"+t_notifyManageVO.getPrcsNm()+"` 결과보고서 제출 건이 있습니다.";
}else if ("61".equals(p_noti_status)) {
NotifyManageVO t_notifyManageVO = notifyManageDAO.findByUserIdFromVE_PRCS_APLCT_PRD(p_notifyManageVO.getPrcsAplctPrdOrd());
notifyCn = "`"+t_notifyManageVO.getPrcsNm()+"` 강의만족도 제출 요청이 있습니다.";
}else if ("62".equals(p_noti_status)) {
NotifyManageVO t_notifyManageVO = notifyManageDAO.findByUserIdFromVE_PRCS_APLCT_PRD(p_notifyManageVO.getPrcsAplctPrdOrd());
notifyCn = "`"+t_notifyManageVO.getPrcsNm()+"` 강의만족도 제출 건이 있습니다.";
}else if ("91".equals(p_noti_status)) {
notifyCn = "교육 문의 건이 있습니다.";
}else if ("92".equals(p_noti_status)) {
notifyCn = "교육문의에 대한 답변이 접수되었습니다.";
}
} }
else if( "60".equals(p_lctrDivCd) ) { //기소유예 else if( "60".equals(p_lctrDivCd) ) { //기소유예
notifyCn = "/web/ve/aplct/cpyrgExprnClsrm/exprnClsrmInfo/exprnClsrmAplctDetail.do"; if ("10".equals(p_noti_status)) {
//과정명 가져오기
NotifyManageVO t_notifyManageVO = notifyManageDAO.findByUserIdFromVE_PRCS_APLCT_PRD(p_notifyManageVO.getPrcsAplctPrdOrd());
notifyCn = "`"+t_notifyManageVO.getPrcsNm()+"` 교육신청 건이 있습니다.";
}else if ("151".equals(p_noti_status)) {
//과정명 가져오기
NotifyManageVO t_notifyManageVO = notifyManageDAO.findByUserIdFromVE_PRCS_APLCT_PRD(p_notifyManageVO.getPrcsAplctPrdOrd());
notifyCn = "`"+t_notifyManageVO.getPrcsNm()+"` 교육 승인 건이 있습니다.";
}else if ("152".equals(p_noti_status)) {
//과정명 가져오기
NotifyManageVO t_notifyManageVO = notifyManageDAO.findByUserIdFromVE_PRCS_APLCT_PRD(p_notifyManageVO.getPrcsAplctPrdOrd());
notifyCn = "`"+t_notifyManageVO.getPrcsNm()+"` 교육 반려 건이 있습니다.";
}else if ("153".equals(p_noti_status)) {
//과정명 가져오기
NotifyManageVO t_notifyManageVO = notifyManageDAO.findByUserIdFromVE_PRCS_APLCT_PRD(p_notifyManageVO.getPrcsAplctPrdOrd());
notifyCn = "`"+t_notifyManageVO.getPrcsNm()+"` 교육 확정 건이 있습니다.";
}else if ("100".equals(p_noti_status)) {
//과정명 가져오기
NotifyManageVO t_notifyManageVO = notifyManageDAO.findByUserIdFromVE_PRCS_APLCT_PRD(p_notifyManageVO.getPrcsAplctPrdOrd());
notifyCn = "`"+t_notifyManageVO.getPrcsNm()+"` 교육 강사로 배정되었습니다.";
}else if ("31".equals(p_noti_status)) {
//과정명 가져오기
NotifyManageVO t_notifyManageVO = notifyManageDAO.findByUserIdFromVE_PRCS_APLCT_PRD(p_notifyManageVO.getPrcsAplctPrdOrd());
notifyCn = "`"+t_notifyManageVO.getPrcsNm()+"` 강의계획서 제출 건이 있습니다.";
}else if ("91".equals(p_noti_status)) {
notifyCn = "교육 문의 건이 있습니다.";
}else if ("92".equals(p_noti_status)) {
notifyCn = "작성하신 문의에 답변이 게시되었습니다.";
}
} }
return notifyCn; return notifyCn;

View File

@ -40,7 +40,7 @@ public class ITNotiUtil {
// 1.VEEduAplctVO // 1.VEEduAplctVO
// //
//VEEduAplctVO - 암호화 //VEEduAplctVO - 암호화 //10,20
public void insertNotifyNew( public void insertNotifyNew(
//NotifyManageService p_notifyManageService //NotifyManageService p_notifyManageService
String p_lctrDivCd //VE0008 10-청소년, 20-성인,30-체험,50-실무,60-기수 String p_lctrDivCd //VE0008 10-청소년, 20-성인,30-체험,50-실무,60-기수
@ -99,6 +99,67 @@ public class ITNotiUtil {
} }
} }
//VEEduAplctVO - 암호화 //60 - 기소형태
public void insertNotifyNew_60(
//NotifyManageService p_notifyManageService
String p_lctrDivCd //VE0008 10-청소년, 20-성인,30-체험,50-실무,60-기수
, String p_RegisterId //등록자ID
, String p_noti_status_cd
, String p_prcsAplctPrdOrd
, String p_eduAplctOrd
, String p_move_param_type //페이지 이동에 사용하는 파라미터 설정 타입
// 0-no param(sms, email),
// 1-prcsAplctPrdOrd,
// 2-prcsAplctPrdOrd & eduAplctOrd
, String p_noti_param_type //알림 대상자 선별을 위한 파라미터 타입
// 0-no param(sms, email),
// 1-prcsAplctPrdOrd,
// 2-prcsAplctPrdOrd & eduAplctOrd
){
try {
//new - 2024.02.02
NotifyManageVO notifyManageVO = new NotifyManageVO();
notifyManageVO.setLctrDivCd(p_lctrDivCd); //VE0008 10-청소년, 20-성인,30-체험,50-실무,60-기수
notifyManageVO.setFrstRegisterId(p_RegisterId); //등록자 정보
//페이지 이동에 필요한 파라미터 설정
if("1".equals(p_move_param_type)) {
notifyManageVO.setParams("prcsAplctPrdOrd:"+p_prcsAplctPrdOrd); //ex)edu_aplct_ord:edu_001,edu_chasi_ord:edu_cha_001
}else if("2".equals(p_move_param_type)) {
notifyManageVO.setParams("prcsAplctPrdOrd:"+p_prcsAplctPrdOrd+",eduAplctOrd:"+p_eduAplctOrd);
//ex)edu_aplct_ord:edu_001,edu_chasi_ord:edu_cha_001
}
//알림 대상자 선정에 필요한 파라미터 설정
if("1".equals(p_noti_param_type)) {
notifyManageVO.setPrcsAplctPrdOrd(p_prcsAplctPrdOrd);
}else if("2".equals(p_noti_param_type)) {
notifyManageVO.setPrcsAplctPrdOrd(p_prcsAplctPrdOrd);
notifyManageVO.setEduAplctOrd(p_eduAplctOrd);
}
System.out.println("notifyManageVO.toString()");
System.out.println(notifyManageVO.toString());
//new 알림-2024.02.02
notifyManageService.insertNotifyNew(notifyManageVO, p_noti_status_cd); //교육신청 - 상태변경
}catch(Exception ex) {
ex.printStackTrace();
}
}
} }

View File

@ -33,6 +33,7 @@ import kcc.let.uss.notify.service.NotifyManageService;
import kcc.let.uss.olp.qri.service.EgovQustnrRespondInfoService; import kcc.let.uss.olp.qri.service.EgovQustnrRespondInfoService;
import kcc.let.uss.olp.qri.service.QustnrRespondInfoVO; import kcc.let.uss.olp.qri.service.QustnrRespondInfoVO;
import kcc.let.utl.fcc.service.EgovCryptoUtil; import kcc.let.utl.fcc.service.EgovCryptoUtil;
import kcc.let.utl.fcc.service.ITNotiUtil;
import kcc.ve.adv.tngr.stngInfo.service.VEACmpltCrtfcMixService; import kcc.ve.adv.tngr.stngInfo.service.VEACmpltCrtfcMixService;
import kcc.ve.aplct.adultVisitEdu.eduAplct.service.EduAplctAdultService; import kcc.ve.aplct.adultVisitEdu.eduAplct.service.EduAplctAdultService;
import kcc.ve.aplct.fndtnEnhanceTrn.service.FndtnEnhanceTrnService; import kcc.ve.aplct.fndtnEnhanceTrn.service.FndtnEnhanceTrnService;
@ -179,6 +180,9 @@ public class FndtnEnhanceTrnController {
@Resource(name = "qustnrCommonUtil") @Resource(name = "qustnrCommonUtil")
private QustnrCommonUtil qustnrCommonUtil; private QustnrCommonUtil qustnrCommonUtil;
//알림
@Resource(name = "iTNotiUtil")
private ITNotiUtil iTNotiUtil;
/** /**
* 대시보드 임시 * 대시보드 임시
@ -577,6 +581,20 @@ public class FndtnEnhanceTrnController {
fndtnEnhanceTrnService.insertVeEduAplct(vEEduAplctVO); fndtnEnhanceTrnService.insertVeEduAplct(vEEduAplctVO);
//알림 교육신청
try {
iTNotiUtil.insertNotifyNew_60(
"50",
loginVO.getUniqId(),
VeConstants.NOTI_STATUS_10,
vEPrcsDetailVO.getPrcsAplctPrdOrd(),
"",
"1",
"1"
);
}catch(Exception ex) {
ex.printStackTrace();
}
modelAndView.addObject("result", "success"); modelAndView.addObject("result", "success");
@ -629,6 +647,21 @@ public class FndtnEnhanceTrnController {
try { try {
fndtnEnhanceTrnService.insertVeEduQna(vEPrcsDetailVO); fndtnEnhanceTrnService.insertVeEduQna(vEPrcsDetailVO);
//알림 교육문의
try {
iTNotiUtil.insertNotifyNew_60(
"50",
loginVO.getUniqId(),
VeConstants.NOTI_STATUS_91,
"",
"",
"0",
"0"
);
}catch(Exception ex) {
ex.printStackTrace();
}
} catch (Exception e) { } catch (Exception e) {
// TODO: handle exception // TODO: handle exception
e.printStackTrace(); e.printStackTrace();

View File

@ -31,6 +31,7 @@ import kcc.let.uat.uia.service.SsoLoginVO;
import kcc.let.uss.notify.service.NotifyManageService; import kcc.let.uss.notify.service.NotifyManageService;
import kcc.let.uss.olp.qri.service.QustnrRespondInfoVO; import kcc.let.uss.olp.qri.service.QustnrRespondInfoVO;
import kcc.let.utl.fcc.service.EgovCryptoUtil; import kcc.let.utl.fcc.service.EgovCryptoUtil;
import kcc.let.utl.fcc.service.ITNotiUtil;
import kcc.ve.aplct.adultVisitEdu.eduAplct.service.EduAplctAdultService; import kcc.ve.aplct.adultVisitEdu.eduAplct.service.EduAplctAdultService;
import kcc.ve.aplct.fndtnEnhanceTrn.service.FndtnEnhanceTrnService; import kcc.ve.aplct.fndtnEnhanceTrn.service.FndtnEnhanceTrnService;
import kcc.ve.aplct.sspnIdtmt.service.SspnIdtmtService; import kcc.ve.aplct.sspnIdtmt.service.SspnIdtmtService;
@ -170,6 +171,10 @@ public class SspnIdtmtController {
@Resource(name = "EgovBBSManageService") @Resource(name = "EgovBBSManageService")
private EgovBBSManageService bbsMngService; private EgovBBSManageService bbsMngService;
//알림
@Resource(name = "iTNotiUtil")
private ITNotiUtil iTNotiUtil;
/** /**
* 대시보드 임시 * 대시보드 임시
*/ */
@ -583,6 +588,7 @@ public class SspnIdtmtController {
try { try {
//암호화 //암호화
vEEduAplctVO = egovCryptoUtil.encryptVEEduAplctVOInfo(vEEduAplctVO); vEEduAplctVO = egovCryptoUtil.encryptVEEduAplctVOInfo(vEEduAplctVO);
vEEduAplctVO.setRndsOrd(vEPrcsDetailVO.getSspnIdtmtTrgtOrd()); //2024-02-07 추가 신청서 정보에 대상자 정보를 넣어야 추후 구분이 가능해서 추가함
sspnIdtmtService.insertVeEduAplct(vEEduAplctVO); sspnIdtmtService.insertVeEduAplct(vEEduAplctVO);
@ -598,6 +604,21 @@ public class SspnIdtmtController {
cndtnTrgtInfoMngService.updateUserId(cndtnTrgtMngVO); cndtnTrgtInfoMngService.updateUserId(cndtnTrgtMngVO);
//알림 교육신청
try {
iTNotiUtil.insertNotifyNew_60(
"60",
loginVO.getUniqId(),
VeConstants.NOTI_STATUS_10,
vEPrcsDetailVO.getPrcsAplctPrdOrd(),
"",
"1",
"1"
);
}catch(Exception ex) {
ex.printStackTrace();
}
result = "success"; result = "success";
} catch (Exception e) { } catch (Exception e) {
// TODO: handle exception // TODO: handle exception
@ -928,6 +949,21 @@ public class SspnIdtmtController {
try { try {
fndtnEnhanceTrnService.insertVeEduQna(vEPrcsDetailVO); fndtnEnhanceTrnService.insertVeEduQna(vEPrcsDetailVO);
//알림 교육문의
try {
iTNotiUtil.insertNotifyNew_60(
"60",
loginVO.getUniqId(),
VeConstants.NOTI_STATUS_91,
"",
"",
"0",
"0"
);
}catch(Exception ex) {
ex.printStackTrace();
}
} catch (Exception e) { } catch (Exception e) {
// TODO: handle exception // TODO: handle exception
e.printStackTrace(); e.printStackTrace();

View File

@ -1,6 +1,5 @@
package kcc.ve.aplct.tngrVisitEdu.eduEnd.web; package kcc.ve.aplct.tngrVisitEdu.eduEnd.web;
import java.util.ArrayList;
import java.util.Comparator; import java.util.Comparator;
import java.util.List; import java.util.List;
@ -1055,6 +1054,22 @@ public class EduEndTngrController {
vEEduMIXService.updateEduStateCd(vEEduAplctVO); vEEduMIXService.updateEduStateCd(vEEduAplctVO);
//알림 설문제출
try {
iTNotiUtil.insertNotifyNew_60(
vEEduAplctVO.getLctrDivCd(),
loginVO.getUniqId(),
VeConstants.NOTI_STATUS_62,
vEEduAplctVO.getPrcsAplctPrdOrd(),
vEEduAplctVO.getEduAplctOrd(),
"2",
"2"
);
}catch(Exception ex) {
ex.printStackTrace();
}
/*
// 알림 영역 // 알림 영역
List<String> eduAplctOrdList = new ArrayList<String>(); List<String> eduAplctOrdList = new ArrayList<String>();
eduAplctOrdList.add(vEEduAplctVO.getEduAplctOrd()); eduAplctOrdList.add(vEEduAplctVO.getEduAplctOrd());
@ -1066,6 +1081,7 @@ public class EduEndTngrController {
, vEEduAplctVO.getEduAplctOrdList() , vEEduAplctVO.getEduAplctOrdList()
, vEEduAplctVO.getAplctStateCd() , vEEduAplctVO.getAplctStateCd()
); );
*/

View File

@ -147,6 +147,12 @@ public class VeConstants {
public static final String NOTI_STATUS_14 = "14"; // 교육수정요청 public static final String NOTI_STATUS_14 = "14"; // 교육수정요청
public static final String NOTI_STATUS_15 = "15"; // 교육신청확정 public static final String NOTI_STATUS_15 = "15"; // 교육신청확정
public static final String NOTI_STATUS_151 = "151"; // 교육승인
public static final String NOTI_STATUS_152 = "152"; // 교육반려
public static final String NOTI_STATUS_153 = "153"; // 교육확정
public static final String NOTI_STATUS_154 = "154"; // 접수취소
public static final String NOTI_STATUS_155 = "155"; // 교육취소
public static final String NOTI_STATUS_20 = "20"; // 교육배치 public static final String NOTI_STATUS_20 = "20"; // 교육배치
public static final String NOTI_STATUS_21 = "21"; // 수락요청 public static final String NOTI_STATUS_21 = "21"; // 수락요청
public static final String NOTI_STATUS_22 = "22"; // 교육수락 public static final String NOTI_STATUS_22 = "22"; // 교육수락

View File

@ -43,7 +43,9 @@ public class VEAPrcsAplctPrdInstrAsgnmVO extends ComDefaultVO implements Seriali
// ve_instr_detail // ve_instr_detail
private String instrNm; // 강사 이름 private String instrNm; // 강사 이름
private String phone; // phone private String phone; // phone
private String rprtFileType; // 첨부파일 종류 private String rprtFileType; // 첨부파일 종류
private String lctrDivCd; //50-실무,60-기소유예
public String getPrcsAplctPrdOrd() { public String getPrcsAplctPrdOrd() {
return prcsAplctPrdOrd; return prcsAplctPrdOrd;
@ -165,6 +167,14 @@ public class VEAPrcsAplctPrdInstrAsgnmVO extends ComDefaultVO implements Seriali
this.rprtFileType = rprtFileType; this.rprtFileType = rprtFileType;
} }
public String getLctrDivCd() {
return lctrDivCd;
}
public void setLctrDivCd(String lctrDivCd) {
this.lctrDivCd = lctrDivCd;
}

View File

@ -40,7 +40,9 @@ import kcc.com.utl.user.service.CheckFileUtil;
import kcc.com.utl.user.service.CheckLoginUtil; import kcc.com.utl.user.service.CheckLoginUtil;
import kcc.let.uat.uia.service.SsoLoginVO; import kcc.let.uat.uia.service.SsoLoginVO;
import kcc.let.utl.fcc.service.EgovCryptoUtil; import kcc.let.utl.fcc.service.EgovCryptoUtil;
import kcc.let.utl.fcc.service.ITNotiUtil;
import kcc.ve.adv.tngr.stngInfo.service.VEAStngVO; import kcc.ve.adv.tngr.stngInfo.service.VEAStngVO;
import kcc.ve.cmm.VeConstants;
import kcc.ve.instr.tngrVisitEdu.eduInfo.service.VEEduAplctVO; import kcc.ve.instr.tngrVisitEdu.eduInfo.service.VEEduAplctVO;
import kcc.ve.instr.tngrVisitEdu.prcsInfo.service.VEPrcsAplctPrdService; import kcc.ve.instr.tngrVisitEdu.prcsInfo.service.VEPrcsAplctPrdService;
import kcc.ve.instr.tngrVisitEdu.prcsInfo.service.VEPrcsCntntVO; import kcc.ve.instr.tngrVisitEdu.prcsInfo.service.VEPrcsCntntVO;
@ -126,6 +128,10 @@ public class CndtnTrgtMngController {
@Resource(name = "egovCryptoUtil") @Resource(name = "egovCryptoUtil")
EgovCryptoUtil egovCryptoUtil; EgovCryptoUtil egovCryptoUtil;
//알림
@Resource(name = "iTNotiUtil")
private ITNotiUtil iTNotiUtil;
/* /*
// 교육신청 서비스단 // 교육신청 서비스단
@ -1665,6 +1671,20 @@ public class CndtnTrgtMngController {
vEPrcsDetailVO.setQnaAnswerer(loginVO.getUniqId()); //esntl_id vEPrcsDetailVO.setQnaAnswerer(loginVO.getUniqId()); //esntl_id
vEPrcsService.qnaUpdate(vEPrcsDetailVO); vEPrcsService.qnaUpdate(vEPrcsDetailVO);
//알림 교육문의등록
try {
iTNotiUtil.insertNotifyNew_60(
"60",
loginVO.getUniqId(),
VeConstants.NOTI_STATUS_92,
"",
vEPrcsDetailVO.getFrstRegisterId(),
"0",
"2"
);
}catch(Exception ex) {
ex.printStackTrace();
}
//세부과정 지우고 다시 생성 //세부과정 지우고 다시 생성
VEPrcsCntntVO vEPrcsCntntVO = new VEPrcsCntntVO(); VEPrcsCntntVO vEPrcsCntntVO = new VEPrcsCntntVO();

View File

@ -35,7 +35,9 @@ import kcc.com.utl.user.service.CheckLoginUtil;
import kcc.let.uat.uia.service.SsoLoginVO; import kcc.let.uat.uia.service.SsoLoginVO;
import kcc.let.uss.notify.service.NotifyManageService; import kcc.let.uss.notify.service.NotifyManageService;
import kcc.let.utl.fcc.service.EgovCryptoUtil; import kcc.let.utl.fcc.service.EgovCryptoUtil;
import kcc.let.utl.fcc.service.ITNotiUtil;
import kcc.ve.aplct.sspnIdtmt.service.SspnIdtmtService; import kcc.ve.aplct.sspnIdtmt.service.SspnIdtmtService;
import kcc.ve.cmm.VeConstants;
import kcc.ve.instr.tngrVisitEdu.eduInfo.service.VEEduAplctVO; import kcc.ve.instr.tngrVisitEdu.eduInfo.service.VEEduAplctVO;
import kcc.ve.instr.tngrVisitEdu.eduInfo.service.VEEduMIXService; import kcc.ve.instr.tngrVisitEdu.eduInfo.service.VEEduMIXService;
import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailVO; import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailVO;
@ -144,6 +146,11 @@ public class CndtnPrcsInfoMngController {
/** cmmUseService */ /** cmmUseService */
@Resource(name = "EgovCmmUseService") @Resource(name = "EgovCmmUseService")
private EgovCmmUseService egovCmmUseService; private EgovCmmUseService egovCmmUseService;
//알림
@Resource(name = "iTNotiUtil")
private ITNotiUtil iTNotiUtil;
/** /**
* 기반강화연수 과정 관리 목록 화면 * 기반강화연수 과정 관리 목록 화면
*/ */
@ -831,6 +838,22 @@ public class CndtnPrcsInfoMngController {
vEPrcsAplctPrdService.updateOneColumn(vEPrcsDetailVO); vEPrcsAplctPrdService.updateOneColumn(vEPrcsDetailVO);
if ("20".equals(vEPrcsDetailVO.getDdlnCd())) {
//알림 교육확정
try {
iTNotiUtil.insertNotifyNew_60(
"60",
loginVO.getUniqId(),
VeConstants.NOTI_STATUS_153,
vEPrcsDetailVO.getPrcsAplctPrdOrd(),
"",
"0",
"1"
);
}catch(Exception ex) {
ex.printStackTrace();
}
}
modelAndView.addObject("result", "success"); modelAndView.addObject("result", "success");
@ -1157,6 +1180,7 @@ public class CndtnPrcsInfoMngController {
*/ */
/*
// 알림 // 알림
notifyManageService.insertNotifyAprvlCd5060ForUser( notifyManageService.insertNotifyAprvlCd5060ForUser(
loginVO loginVO
@ -1165,19 +1189,18 @@ public class CndtnPrcsInfoMngController {
, vEPrcsDetailVO.getEduAplctOrdList() , vEPrcsDetailVO.getEduAplctOrdList()
, vEPrcsDetailVO.getAprvlCd() , vEPrcsDetailVO.getAprvlCd()
); );
*/
// 승인 - 승인일 경우 vea_aplct_detail_info TB에 넣어줘야함 // 승인 - 승인일 경우 vea_aplct_detail_info TB에 넣어줘야함
if("20".equals(vEPrcsDetailVO.getAprvlCd())) { if("20".equals(vEPrcsDetailVO.getAprvlCd())) {
this.aprvlCd20(vEPrcsDetailVO,loginVO.getUniqId()); this.aprvlCd20(vEPrcsDetailVO,loginVO.getUniqId());
} }
// 접수취소(반려) - vea_aplct_detail_info TB에 data update // 접수취소(반려) - vea_aplct_detail_info TB에 data update
else if("30".equals(vEPrcsDetailVO.getAprvlCd())) else if("30".equals(vEPrcsDetailVO.getAprvlCd()))
{ {
this.aprvlCd30(vEPrcsDetailVO); this.aprvlCd30(vEPrcsDetailVO,loginVO.getUniqId());
} }
modelAndView.addObject("result", "success"); modelAndView.addObject("result", "success");
@ -1278,6 +1301,62 @@ public class CndtnPrcsInfoMngController {
} }
return modelAndView;
}
/**
* 기소유예 교육확정상세 > 강의만족도 제출 요청
*/
@RequestMapping("/kccadr/oprtn/cndtnSspnIdtmt/updateAplctQustnrAjax.do")
public ModelAndView updateAplctQustnrAjax(
@ModelAttribute("vEPrcsDetailVO") VEPrcsDetailVO vEPrcsDetailVO
, ModelMap model
, HttpServletRequest request
) throws Exception {
ModelAndView modelAndView = new ModelAndView();
modelAndView.setViewName("jsonView");
//로그인 처리====================================
//로그인 정보 가져오기
String s_oprtnLoginCheckNInfo = checkLoginUtil.oprtnCheckNInfo(model);
if (!"".equals(s_oprtnLoginCheckNInfo)) {
modelAndView.addObject("result", "loginFail");
return modelAndView;
}
//로그인 처리====================================
LoginVO loginVO = checkLoginUtil.getAuthLoginVO(); //권한에 따른 로그인 정보 가져오기
try {
for(String eduAplctOrd : vEPrcsDetailVO.getEduAplctOrdList()) {
//결과보고서 제출 알림
try {
iTNotiUtil.insertNotifyNew_60(
"50",
loginVO.getUniqId(),
VeConstants.NOTI_STATUS_61,
vEPrcsDetailVO.getPrcsAplctPrdOrd(),
eduAplctOrd,
"0",
"2"
);
}catch(Exception ex) {
ex.printStackTrace();
}
}
modelAndView.addObject("result", "success");
} catch (Exception ex) {
ex.printStackTrace();
modelAndView.addObject("result", "");
}
return modelAndView; return modelAndView;
} }
@ -1707,8 +1786,23 @@ public class CndtnPrcsInfoMngController {
vEAPrcsAplctPrdInstrAsgnmVO.setFrstRegisterId(loginVO.getUniqId()); //esntl_id vEAPrcsAplctPrdInstrAsgnmVO.setFrstRegisterId(loginVO.getUniqId()); //esntl_id
vEAPrcsAplctPrdInstrAsgnmService.instrInsert(vEAPrcsAplctPrdInstrAsgnmVO); vEAPrcsAplctPrdInstrAsgnmService.instrInsert(vEAPrcsAplctPrdInstrAsgnmVO);
notifyManageService.insertNotifyForInstr5060(loginVO, vEAPrcsAplctPrdInstrAsgnmVO.getPrcsAplctPrdOrd(), vEAPrcsAplctPrdInstrAsgnmVO.getAsgnmAprvlCd(), vEAPrcsAplctPrdInstrAsgnmVO.getUserId()); //알림
//notifyManageService.insertNotifyForInstr5060(loginVO, vEAPrcsAplctPrdInstrAsgnmVO.getPrcsAplctPrdOrd(), vEAPrcsAplctPrdInstrAsgnmVO.getAsgnmAprvlCd(), vEAPrcsAplctPrdInstrAsgnmVO.getUserId());
//알림 교육신청
try {
iTNotiUtil.insertNotifyNew_60(
"60",
loginVO.getUniqId(),
VeConstants.NOTI_STATUS_100,
vEAPrcsAplctPrdInstrAsgnmVO.getPrcsAplctPrdOrd(),
vEAPrcsAplctPrdInstrAsgnmVO.getUserId(),
"0",
"2"
);
}catch(Exception ex) {
ex.printStackTrace();
}
} catch (Exception ex) { } catch (Exception ex) {
ex.printStackTrace(); ex.printStackTrace();
@ -2061,6 +2155,22 @@ public class CndtnPrcsInfoMngController {
} }
//알림 교육승인
try {
iTNotiUtil.insertNotifyNew_60(
"60",
uniqId,
VeConstants.NOTI_STATUS_151,
vEPrcsDetailVO.getPrcsAplctPrdOrd(),
id,
"0",
"2"
);
}catch(Exception ex) {
ex.printStackTrace();
}
} }
} }
@ -2075,7 +2185,7 @@ public class CndtnPrcsInfoMngController {
* @param uniqId * @param uniqId
* @throws FdlException * @throws FdlException
*/ */
private void aprvlCd30(VEPrcsDetailVO vEPrcsDetailVO) { private void aprvlCd30(VEPrcsDetailVO vEPrcsDetailVO, String uniqId) {
for(String id : vEPrcsDetailVO.getEduAplctOrdList()) { for(String id : vEPrcsDetailVO.getEduAplctOrdList()) {
VEPrcsDetailVO vEDetailVO = new VEPrcsDetailVO(); VEPrcsDetailVO vEDetailVO = new VEPrcsDetailVO();
@ -2096,6 +2206,21 @@ public class CndtnPrcsInfoMngController {
} }
//알림 교육반려
try {
iTNotiUtil.insertNotifyNew_60(
"60",
uniqId,
VeConstants.NOTI_STATUS_152,
vEPrcsDetailVO.getPrcsAplctPrdOrd(),
id,
"0",
"2"
);
}catch(Exception ex) {
ex.printStackTrace();
}
} }
} }

View File

@ -37,6 +37,8 @@ import kcc.let.uss.notify.service.NotifyManageService;
import kcc.let.uss.olp.qri.service.EgovQustnrRespondInfoService; import kcc.let.uss.olp.qri.service.EgovQustnrRespondInfoService;
import kcc.let.uss.olp.qri.service.QustnrRespondInfoVO; import kcc.let.uss.olp.qri.service.QustnrRespondInfoVO;
import kcc.let.utl.fcc.service.EgovCryptoUtil; import kcc.let.utl.fcc.service.EgovCryptoUtil;
import kcc.let.utl.fcc.service.ITNotiUtil;
import kcc.ve.cmm.VeConstants;
import kcc.ve.instr.tngrVisitEdu.eduInfo.service.VEEduAplctService; import kcc.ve.instr.tngrVisitEdu.eduInfo.service.VEEduAplctService;
import kcc.ve.instr.tngrVisitEdu.eduInfo.service.VEEduAplctVO; import kcc.ve.instr.tngrVisitEdu.eduInfo.service.VEEduAplctVO;
import kcc.ve.instr.tngrVisitEdu.eduInfo.service.VEEduChasiService; import kcc.ve.instr.tngrVisitEdu.eduInfo.service.VEEduChasiService;
@ -159,7 +161,9 @@ public class FndthPrcsAplctPrdMngController {
@Resource(name = "EgovCmmUseService") @Resource(name = "EgovCmmUseService")
private EgovCmmUseService egovCmmUseService; private EgovCmmUseService egovCmmUseService;
//알림
@Resource(name = "iTNotiUtil")
private ITNotiUtil iTNotiUtil;
/* /*
@ -905,6 +909,22 @@ public class FndthPrcsAplctPrdMngController {
vEPrcsAplctPrdService.updateOneColumn(vEPrcsDetailVO); vEPrcsAplctPrdService.updateOneColumn(vEPrcsDetailVO);
if ("20".equals(vEPrcsDetailVO.getDdlnCd())) {
//알림 교육확정
try {
iTNotiUtil.insertNotifyNew_60(
"50",
loginVO.getUniqId(),
VeConstants.NOTI_STATUS_153,
vEPrcsDetailVO.getPrcsAplctPrdOrd(),
"",
"0",
"1"
);
}catch(Exception ex) {
ex.printStackTrace();
}
}
modelAndView.addObject("result", "success"); modelAndView.addObject("result", "success");
@ -1083,7 +1103,7 @@ public class FndthPrcsAplctPrdMngController {
// 접수취소(반려) - vea_aplct_detail_info TB에 data update // 접수취소(반려) - vea_aplct_detail_info TB에 data update
else if("30".equals(vEPrcsDetailVO.getAprvlCd())) else if("30".equals(vEPrcsDetailVO.getAprvlCd()))
{ {
this.aprvlCd30(vEPrcsDetailVO); this.aprvlCd30(vEPrcsDetailVO,loginVO.getUniqId());
} }
modelAndView.addObject("result", "success"); modelAndView.addObject("result", "success");
@ -1141,7 +1161,7 @@ public class FndthPrcsAplctPrdMngController {
* @param uniqId * @param uniqId
* @throws FdlException * @throws FdlException
*/ */
private void aprvlCd30(VEPrcsDetailVO vEPrcsDetailVO) { private void aprvlCd30(VEPrcsDetailVO vEPrcsDetailVO, String uniqId) {
for(String id : vEPrcsDetailVO.getEduAplctOrdList()) { for(String id : vEPrcsDetailVO.getEduAplctOrdList()) {
VEPrcsDetailVO vEDetailVO = new VEPrcsDetailVO(); VEPrcsDetailVO vEDetailVO = new VEPrcsDetailVO();
@ -1159,6 +1179,21 @@ public class FndthPrcsAplctPrdMngController {
} }
//알림 교육반려
try {
iTNotiUtil.insertNotifyNew_60(
"50",
uniqId,
VeConstants.NOTI_STATUS_154,
vEPrcsDetailVO.getPrcsAplctPrdOrd(),
id,
"0",
"2"
);
}catch(Exception ex) {
ex.printStackTrace();
}
} }
} }

View File

@ -29,9 +29,10 @@ import kcc.com.cmm.util.StringUtil;
import kcc.com.utl.user.service.CheckLoginUtil; import kcc.com.utl.user.service.CheckLoginUtil;
import kcc.let.uat.uia.service.SsoLoginVO; import kcc.let.uat.uia.service.SsoLoginVO;
import kcc.let.utl.fcc.service.EgovCryptoUtil; import kcc.let.utl.fcc.service.EgovCryptoUtil;
import kcc.let.utl.fcc.service.ITNotiUtil;
import kcc.ve.cmm.VeConstants;
import kcc.ve.instr.tngrVisitEdu.eduInfo.service.VEEduAplctService; import kcc.ve.instr.tngrVisitEdu.eduInfo.service.VEEduAplctService;
import kcc.ve.instr.tngrVisitEdu.eduInfo.service.VEEduChasiService; import kcc.ve.instr.tngrVisitEdu.eduInfo.service.VEEduChasiService;
import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailVO;
import kcc.ve.instr.tngrVisitEdu.prcsInfo.service.VEPrcsCmpltDetailService; import kcc.ve.instr.tngrVisitEdu.prcsInfo.service.VEPrcsCmpltDetailService;
import kcc.ve.instr.tngrVisitEdu.prcsInfo.service.VEPrcsCntntVO; import kcc.ve.instr.tngrVisitEdu.prcsInfo.service.VEPrcsCntntVO;
import kcc.ve.instr.tngrVisitEdu.prcsInfo.service.VEPrcsDetailVO; import kcc.ve.instr.tngrVisitEdu.prcsInfo.service.VEPrcsDetailVO;
@ -156,6 +157,10 @@ public class FndthPrcsInfoMngController {
private CheckAdrProcessUtil checkAdrProcessUtil; private CheckAdrProcessUtil checkAdrProcessUtil;
*/ */
//알림
@Resource(name = "iTNotiUtil")
private ITNotiUtil iTNotiUtil;
/** /**
* 기반강화연수 과정 관리 목록 화면 * 기반강화연수 과정 관리 목록 화면
*/ */
@ -570,6 +575,20 @@ public class FndthPrcsInfoMngController {
vEPrcsDetailVO.setQnaAnswerer(loginVO.getUniqId()); //esntl_id vEPrcsDetailVO.setQnaAnswerer(loginVO.getUniqId()); //esntl_id
vEPrcsService.qnaUpdate(vEPrcsDetailVO); vEPrcsService.qnaUpdate(vEPrcsDetailVO);
//알림 교육문의등록
try {
iTNotiUtil.insertNotifyNew_60(
"50",
loginVO.getUniqId(),
VeConstants.NOTI_STATUS_92,
"",
vEPrcsDetailVO.getFrstRegisterId(),
"0",
"2"
);
}catch(Exception ex) {
ex.printStackTrace();
}
//세부과정 지우고 다시 생성 //세부과정 지우고 다시 생성
VEPrcsCntntVO vEPrcsCntntVO = new VEPrcsCntntVO(); VEPrcsCntntVO vEPrcsCntntVO = new VEPrcsCntntVO();

View File

@ -68,7 +68,16 @@
AND edu_chasi_ord=#eduChasiOrd# AND edu_chasi_ord=#eduChasiOrd#
</select> </select>
<select id="VEANotifyMngDAO.selectAplctList" parameterClass="notifyManageVO" resultClass="notifyManageVO">
/* VEANotifyMngDAO.selectAplctList */
SELECT user_id AS mngUserId
FROM ve_edu_aplct
WHERE prcs_ord=#prcsAplctPrdOrd#
</select>
<select id="VEANotifyMngDAO.findByMngId" parameterClass="notifyManageVO" resultClass="notifyManageVO"> <select id="VEANotifyMngDAO.findByMngId" parameterClass="notifyManageVO" resultClass="notifyManageVO">
/* VEANotifyMngDAO.findByMngId */ /* VEANotifyMngDAO.findByMngId */
SELECT SELECT

View File

@ -165,7 +165,19 @@
LIMIT 1 LIMIT 1
</select> </select>
<select id="VEANotifyDAO.findByUserIdFromVE_PRCS_APLCT_PRD" parameterClass="String" resultClass="notifyManageVO">
/* VEANotifyDAO.findByUserIdFromVE_PRCS_APLCT_PRD */
SELECT b.PRCS_NM AS prcsNm
, a.PRCS_APLCT_PRD_ORD AS prcsAplctPrdOrd
, b.PRCS_ORD AS prcsOrd
FROM ve_prcs_aplct_prd a
, ve_prcs b
WHERE a.PRCS_APLCT_PRD_ORD =#prcsAplctPrdOrd#
AND a.PRCS_ORD =b.PRCS_ORD
</select>
<select id="VEANotifyDAO.findByLctrDivCdFromVePrcsAplctPrd" parameterClass="String" resultClass="String"> <select id="VEANotifyDAO.findByLctrDivCdFromVePrcsAplctPrd" parameterClass="String" resultClass="String">
/* VEANotifyDAO.findByLctrDivCdFromVePrcsAplctPrd */ /* VEANotifyDAO.findByLctrDivCdFromVePrcsAplctPrd */
SELECT SELECT

View File

@ -330,7 +330,8 @@
LCTR_YN, LCTR_YN,
PRVS_QS, PRVS_QS,
PHONE, PHONE,
EMAIL EMAIL,
RNDS_ORD
) )
VALUES( VALUES(
#eduAplctOrd#, #eduAplctOrd#,
@ -354,7 +355,8 @@
#lctrYn#, #lctrYn#,
#prvsQs#, #prvsQs#,
#phone#, #phone#,
#email# #email#,
#rndsOrd#
) )
WHEN MATCHED THEN WHEN MATCHED THEN
UPDATE UPDATE
@ -404,6 +406,9 @@
<isNotEmpty property="email"> <isNotEmpty property="email">
,EMAIL = #email# ,EMAIL = #email#
</isNotEmpty> </isNotEmpty>
<isNotEmpty property="rndsOrd">
,RNDS_ORD = #rndsOrd#
</isNotEmpty>
</insert> </insert>

View File

@ -295,7 +295,10 @@
JOIN LETTNGNRLMBER le ON JOIN LETTNGNRLMBER le ON
a.USER_ID = le.ESNTL_ID a.USER_ID = le.ESNTL_ID
LEFT JOIN VEA_SSPN_IDMT_TRGT vsit ON LEFT JOIN VEA_SSPN_IDMT_TRGT vsit ON
(
a.USER_ID = vsit.USER_ID a.USER_ID = vsit.USER_ID
AND a.rnds_ord=vsit.SSPN_IDTMT_TRGT_ORD
)
WHERE WHERE
1=1 1=1
<isNotEmpty property="prcsOrd"> <isNotEmpty property="prcsOrd">

View File

@ -468,7 +468,7 @@
</c:when> </c:when>
<c:otherwise> <c:otherwise>
<tr> <tr>
<td colspan="4">강사 배치 정보가 없습니다.</td> <td colspan="5">강사 배치 정보가 없습니다.</td>
</tr> </tr>
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>

View File

@ -1,244 +1,246 @@
<!DOCTYPE html> <!DOCTYPE html>
<%@ page language="java" contentType="text/html; charset=utf-8" <%@ page language="java" contentType="text/html; charset=utf-8"
pageEncoding="utf-8"%> pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> <%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> <%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="ve" uri="/WEB-INF/tlds/kcc_tld.tld"%> <%@ taglib prefix="ve" uri="/WEB-INF/tlds/kcc_tld.tld"%>
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %> <%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
<% <%
/** /**
* @Class Name : fndthEduPrcsMngDetail.jsp * @Class Name : fndthEduPrcsMngDetail.jsp
* @Description : 기반강화연수 상세화면 * @Description : 기반강화연수 상세화면
* @Modification Information * @Modification Information
* @ * @
* @ 수정일 수정자 수정내용 * @ 수정일 수정자 수정내용
* @ ------- -------- --------------------------- * @ ------- -------- ---------------------------
* @ 2021.12.16 조용준 최초 생성 * @ 2021.12.16 조용준 최초 생성
* @author 조용주 * @author 조용주
* @since 2021.12.16 * @since 2021.12.16
* @version 1.0 * @version 1.0
* @see * @see
* *
*/ */
%> %>
<html lang="ko"> <html lang="ko">
<head> <head>
<title>교육과정관리</title> <title>교육과정관리</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript"> <script type="text/javascript">
function fncGoList(){ function fncGoList(){
var listForm = document.listForm ; var listForm = document.listForm ;
listForm.action = "<c:url value='/kccadr/oprtn/cndtnSspnIdtmt/cndtnEduQnaMngList.do'/>"; listForm.action = "<c:url value='/kccadr/oprtn/cndtnSspnIdtmt/cndtnEduQnaMngList.do'/>";
listForm.submit(); listForm.submit();
} }
function updateQnaAnswerCn(){ function updateQnaAnswerCn(){
$("#prvtMemoCn").val($("#hiddenMemo").val()); $("#prvtMemoCn").val($("#hiddenMemo").val());
var data1 = new FormData(document.getElementById("detailForm")); var data1 = new FormData(document.getElementById("detailForm"));
$.ajax({ $.ajax({
type:"POST", type:"POST",
url:"${pageContext.request.contextPath}/kccadr/oprtn/cndtnSspnIdtmt/cndtnEduQnaMngUpdateAjax.do", url:"${pageContext.request.contextPath}/kccadr/oprtn/cndtnSspnIdtmt/cndtnEduQnaMngUpdateAjax.do",
data:data1, data:data1,
dataType:'json', dataType:'json',
async: false, async: false,
processData: false, processData: false,
contentType: false, contentType: false,
cache: false, cache: false,
success:function(returnData){ success:function(returnData){
if(returnData.result == "success"){ if(returnData.result == "success"){
alert("저장 되었습니다."); alert("저장 되었습니다.");
// location.reload(); // location.reload();
//답변 알림 //답변 알림
insertNoty( /* 공통 모듈로 이동함 2024-02-07
$("#prcsAplctPrdQnaOrd").val(), insertNoty(
'', $("#prcsAplctPrdQnaOrd").val(),
'[기소유예] 문의 답변이 등록되었습니다.', '',
'/web/ve/aplct/sspnIdtmt/eduFAQList.do', '[기소유예] 문의 답변이 등록되었습니다.',
$("#frstRegisterId").val(), '/web/ve/aplct/sspnIdtmt/eduFAQList.do',
'60' $("#frstRegisterId").val(),
) '60'
)
fncGoList(); */
}
}, fncGoList();
error:function(request , status, error){ }
alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error); },
} error:function(request , status, error){
}); alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
} }
});
function insertNoty(eduAplctOrd, eduChasiOrd, notifyCn, notifyPath, toUserId, lctrDivCd){ }
var notiForm = new FormData(); function insertNoty(eduAplctOrd, eduChasiOrd, notifyCn, notifyPath, toUserId, lctrDivCd){
var notiFields = [ var notiForm = new FormData();
'eduAplctOrd',
'eduChasiOrd', var notiFields = [
'notifyCn', 'eduAplctOrd',
'notifyPath', 'eduChasiOrd',
'toUserId', 'notifyCn',
'lctrDivCd' 'notifyPath',
] 'toUserId',
'lctrDivCd'
notiFields.forEach(function(fieldName){ ]
notiForm.append(fieldName, eval(fieldName));
}); notiFields.forEach(function(fieldName){
notiForm.append(fieldName, eval(fieldName));
});
$.ajax({
type:"POST",
url: "${pageContext.request.contextPath}/kccadr/oprtn/comm/insertNotifyForUserAjax.do", $.ajax({
data: notiForm, type:"POST",
dataType:'json', url: "${pageContext.request.contextPath}/kccadr/oprtn/comm/insertNotifyForUserAjax.do",
async: false, data: notiForm,
processData: false, dataType:'json',
contentType: false, async: false,
cache: false, processData: false,
success:function(returnData){ contentType: false,
}, cache: false,
error:function(request , status, error){ success:function(returnData){
alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error); },
} error:function(request , status, error){
}); alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
} }
</script> });
}
</head> </script>
<body>
<form id="listForm" name="listForm" method="post"> </head>
</form> <body>
<form:form id="detailForm" name="detailForm" commandName="vEPrcsDetailVO" method="post"> <form id="listForm" name="listForm" method="post">
<input type="hidden" name="prcsAplctPrdQnaOrd" id="prcsAplctPrdQnaOrd" value="<c:out value='${vEPrcsDetailVO.prcsAplctPrdQnaOrd}' />"/> </form>
<input type="hidden" name="frstRegisterId" id="frstRegisterId" value="<c:out value='${info.frstRegisterId}' />"/> <form:form id="detailForm" name="detailForm" commandName="vEPrcsDetailVO" method="post">
<!-- cont --> <input type="hidden" name="prcsAplctPrdQnaOrd" id="prcsAplctPrdQnaOrd" value="<c:out value='${vEPrcsDetailVO.prcsAplctPrdQnaOrd}' />"/>
<div class="cont_wrap"> <input type="hidden" name="frstRegisterId" id="frstRegisterId" value="<c:out value='${info.frstRegisterId}' />"/>
<div class="box"> <!-- cont -->
<div class="cont_wrap">
<!-- cont_tit --> <div class="box">
<div class="cont_tit">
<h2>교육문의상세</h2> <!-- cont_tit -->
<ul class="cont_nav"> <div class="cont_tit">
<li class="home"><a href="/"><i></i></a></li> <h2>교육문의상세</h2>
<li> <ul class="cont_nav">
<p>조건부기소유예관리</p> <li class="home"><a href="/"><i></i></a></li>
</li> <li>
<li><span class="cur_nav">교육문의상세</span></li> <p>조건부기소유예관리</p>
</ul> </li>
</div> <li><span class="cur_nav">교육문의상세</span></li>
<!-- //cont_tit --> </ul>
</div>
<div class="cont"> <!-- //cont_tit -->
<!-- list_상세 -->
<div class="tb_tit01"> <div class="cont">
<p>교육문의상세</p> <!-- list_상세 -->
</div> <div class="tb_tit01">
<div class="tb_type02"> <p>교육문의상세</p>
<table> </div>
<colgroup> <div class="tb_type02">
<col style="width: 210px;"> <table>
<col style="width: auto;"> <colgroup>
<col style="width: 210px;"> <col style="width: 210px;">
<col style="width: auto;"> <col style="width: auto;">
</colgroup> <col style="width: 210px;">
<col style="width: auto;">
<tbody> </colgroup>
<tr>
<th scope="row">질문자ID</th> <tbody>
<td> <tr>
<c:out value='${info.qnaRegist}' /> <th scope="row">질문자ID</th>
</td> <td>
</tr> <c:out value='${info.qnaRegist}' />
<tr> </td>
<th scope="row">질문자 이름</th> </tr>
<td> <tr>
<c:out value='${info.mberNm}' /> <th scope="row">질문자 이름</th>
</td> <td>
</tr> <c:out value='${info.mberNm}' />
<tr> </td>
<th scope="row">질문내용</th> </tr>
<td> <tr>
<c:out value='${info.qnaCn}' /> <th scope="row">질문내용</th>
</td> <td>
</tr> <c:out value='${info.qnaCn}' />
<tr> </td>
<th scope="row">답변상태</th> </tr>
<td> <tr>
<c:choose> <th scope="row">답변상태</th>
<c:when test="${empty info.qnaAnswerCn }"> <td>
미완료 <c:choose>
</c:when> <c:when test="${empty info.qnaAnswerCn }">
<c:otherwise> 미완료
완료 </c:when>
</c:otherwise> <c:otherwise>
</c:choose> 완료
</td> </c:otherwise>
</tr> </c:choose>
<tr> </td>
<th scope="row">답변일시</th> </tr>
<td> <tr>
<c:choose> <th scope="row">답변일시</th>
<c:when test="${empty info.lastUpdtPnttm }"> <td>
- <c:choose>
</c:when> <c:when test="${empty info.lastUpdtPnttm }">
<c:otherwise> -
<c:out value='${info.lastUpdtPnttm }'/> </c:when>
</c:otherwise> <c:otherwise>
</c:choose> <c:out value='${info.lastUpdtPnttm }'/>
</td> </c:otherwise>
</tr> </c:choose>
</tbody> </td>
</table> </tr>
</div> </tbody>
<!-- //list_상세 --> </table>
<!-- 비공개 메보 정보 --> </div>
<div class="tb_tit01"> <!-- //list_상세 -->
<p>답변</p> <!-- 비공개 메보 정보 -->
</div> <div class="tb_tit01">
<div class="tb_type02"> <p>답변</p>
<table> </div>
<colgroup> <div class="tb_type02">
<col style="width: 220px;"> <table>
<col style="width: auto;"> <colgroup>
</colgroup> <col style="width: 220px;">
<tr> <col style="width: auto;">
<th scope="row"> </colgroup>
<p>내용</p> <tr>
</th> <th scope="row">
<td class="tb_alram"> <p>내용</p>
<div> </th>
<textarea name="qnaAnswerCn" id="qnaAnswerCn"><c:out value="${info.qnaAnswerCn}" /></textarea> <td class="tb_alram">
<button type="button" class="btn_type08" onclick="updateQnaAnswerCn(); return false;">답변 등록</button> <div>
</div> <textarea name="qnaAnswerCn" id="qnaAnswerCn"><c:out value="${info.qnaAnswerCn}" /></textarea>
</td> <button type="button" class="btn_type08" onclick="updateQnaAnswerCn(); return false;">답변 등록</button>
</tr> </div>
</tbody> </td>
</table> </tr>
</div> </tbody>
<!-- //list_상세 --> </table>
</div>
<!-- btn_wrap --> <!-- //list_상세 -->
<div class="btn_wrap btn_layout01">
<div class="btn_left"> <!-- btn_wrap -->
</div> <div class="btn_wrap btn_layout01">
<div class="btn_center"> <div class="btn_left">
</div> </div>
<div class="btn_right"> <div class="btn_center">
<button type="button" class="btn_type03" onclick="fncGoList(); return false;">목록</button> </div>
</div> <div class="btn_right">
</div> <button type="button" class="btn_type03" onclick="fncGoList(); return false;">목록</button>
</div> </div>
</div> </div>
</div> </div>
</form:form> </div>
<!-- //cont --> </div>
</body> </form:form>
</html> <!-- //cont -->
</body>
</html>

View File

@ -194,6 +194,59 @@
} }
// 강의만족도제출요청
function fn_qustnrRequest(
//p_aplctStateCd,
p_prcsAplctPrdOrd
) {
var selectedEduAplctOrd = [];
// "chk" 이름을 가진 체크박스가 체크된 항목들을 순회
$("input[name='chk']:checked").each(function() {
var eduAplctOrdValue = $(this).data('userid');
selectedEduAplctOrd.push(eduAplctOrdValue);
});
console.log('selectedEduAplctOrd : ', selectedEduAplctOrd);
// 선택된 항목이 없으면 경고 메시지를 표시하고 함수를 종료
if (selectedEduAplctOrd.length === 0) {
alert("선택된 항목이 없습니다. 선택 후 다시 시도하세요.");
return false;
}
var dataToSend = {
"eduAplctOrdList": selectedEduAplctOrd,
//"aplctStateCd": p_aplctStateCd,
"prcsAplctPrdOrd": p_prcsAplctPrdOrd,
"lctrDivCd": '50'
};
var url = "<c:url value='/kccadr/oprtn/cndtnSspnIdtmt/updateAplctQustnrAjax.do'/>";
// AJAX 호출을 통해 서버에 데이터 전송
$.ajax({
type:"POST",
url: url,
data: $.param(dataToSend, true), // 직렬화 , 컨트롤러에서 @ModelAttribute로 받을 수 있음
// contentType : 'application/json',
dataType:'json',
success:function(returnData){
if(returnData.result == "success"){
alert("변경 처리 되었습니다.");
window.location.reload();
}else{
alert("변경 중 오류가 발생하였습니다.");
}
},
error: function(jqXHR, textStatus, errorThrown) {
console.error("AJAX Error:", textStatus, errorThrown);
console.error("Response:", jqXHR.responseText);
}
});
}
//설문조사 결과 //설문조사 결과
function fncInstrCostInfo(eduId, userId) { //메뉴생성 화면 호출 function fncInstrCostInfo(eduId, userId) { //메뉴생성 화면 호출
var form = document.popupForm; var form = document.popupForm;
@ -890,12 +943,16 @@
<!-- btn_wrap --> <!-- btn_wrap -->
<div class="btn_wrap btn_layout01"> <div class="btn_wrap btn_layout01">
<div class="btn_left"> <div class="btn_left">
<button type="button" class="btn_type04" onclick="fn_qustnrRequest('<c:out value="${info.prcsAplctPrdOrd }" />'); return false;">강의만족도제출요청</button>
</div> </div>
<div class="btn_center"> <div class="btn_center">
</div> </div>
<div class="btn_right"> <div class="btn_right">
<!-- <button type="button" class="btn_type08" onclick="chkSnd('email');return false;">email 발송</button> --> <!-- <button type="button" class="btn_type08" onclick="chkSnd('email');return false;">email 발송</button> -->
<button type="button" class="btn_type04" onclick="location.href='<c:url value="/kccadr/oprtn/cndtnSspnIdtmt/cndtnEduPrcsAplctCfnMngList.do" />'; return false;">교육확정목록</button> <%-- <button type="button" class="btn_type04" onclick="location.href='<c:url value="/kccadr/oprtn/cndtnSspnIdtmt/cndtnEduPrcsAplctCfnMngList.do" />'; return false;">교육확정목록</button> --%>
<button type="button" class="btn_type04" onclick="fn_statusChgList('20', '<c:out value="${info.prcsAplctPrdOrd }" />'); return false;">이수</button> <button type="button" class="btn_type04" onclick="fn_statusChgList('20', '<c:out value="${info.prcsAplctPrdOrd }" />'); return false;">이수</button>
<button type="button" class="btn_type04" onclick="fn_statusChgList('10', '<c:out value="${info.prcsAplctPrdOrd }" />'); return false;">미이수</button> <button type="button" class="btn_type04" onclick="fn_statusChgList('10', '<c:out value="${info.prcsAplctPrdOrd }" />'); return false;">미이수</button>
</div> </div>

View File

@ -424,9 +424,8 @@ $(document).ready(function(){
<%-- </c:otherwise> --%> <%-- </c:otherwise> --%>
<%-- </c:choose> --%> <%-- </c:choose> --%>
<c:choose> <c:choose>
<c:when test="${list.aprvlCd eq 20 and list.qestRsltExists and list.aplctStateCd ne 10}"> <c:when test="${list.aprvlCd eq 20 and list.qestRsltExists and list.aplctStateCd ne 10 and list.aplctStateCd ne 30}">
<!-- 설문노출대상(승인처리를 받았음(20) && 교육기간이 지났음 list.qestRsltExists=true && 미이수가 아닌것(10) ) --> <!-- 설문노출대상(승인처리를 받았음(20) && 교육기간이 지났음 list.qestRsltExists=true && 미이수가 아닌것(10) ) -->
<c:choose> <c:choose>

View File

@ -344,7 +344,7 @@
<%-- </c:choose> --%> <%-- </c:choose> --%>
<c:choose> <c:choose>
<c:when test="${list.aprvlCd eq 20 and list.qestRsltExists and list.aplctStateCd ne 10}"> <c:when test="${list.aprvlCd eq 20 and list.qestRsltExists and list.aplctStateCd ne 10 and list.aplctStateCd ne 30}">
<!-- 설문노출대상(승인처리를 받았음(20) && 교육기간이 지났음 list.qestRsltExists=true && 미이수가 아닌것(10) ) --> <!-- 설문노출대상(승인처리를 받았음(20) && 교육기간이 지났음 list.qestRsltExists=true && 미이수가 아닌것(10) ) -->
<c:choose> <c:choose>

View File

@ -231,7 +231,7 @@
<%-- </c:choose> --%> <%-- </c:choose> --%>
<c:choose> <c:choose>
<c:when test="${list.aprvlCd eq 20 and list.qestRsltExists and list.aplctStateCd ne 10}"> <c:when test="${list.aprvlCd eq 20 and list.qestRsltExists and list.aplctStateCd ne 10 and list.aplctStateCd ne 30}">
<!-- 설문노출대상(승인처리를 받았음(20) && 교육기간이 지났음 list.qestRsltExists=true && 미이수가 아닌것(10) ) --> <!-- 설문노출대상(승인처리를 받았음(20) && 교육기간이 지났음 list.qestRsltExists=true && 미이수가 아닌것(10) ) -->
<c:choose> <c:choose>

View File

@ -87,6 +87,7 @@
, "innorixFileListVO": data , "innorixFileListVO": data
, "successMsg" : "제출 완료되었습니다." , "successMsg" : "제출 완료되었습니다."
, "fileType" : "LCTRPLAN" , "fileType" : "LCTRPLAN"
, "lctrDivCd" : "50"
} }
if(fn_innorixCmmAjax(sendData, url) == "OK") if(fn_innorixCmmAjax(sendData, url) == "OK")
{ {

View File

@ -87,6 +87,7 @@
, "innorixFileListVO": data , "innorixFileListVO": data
, "successMsg" : "제출 완료되었습니다." , "successMsg" : "제출 완료되었습니다."
, "fileType" : "DOCATCH" , "fileType" : "DOCATCH"
, "lctrDivCd" : "50"
} }
if(fn_innorixCmmAjax(sendData, url) == "OK") if(fn_innorixCmmAjax(sendData, url) == "OK")
{ {

View File

@ -128,7 +128,8 @@
</li> </li>
<li> <li>
<span>과정명</span> <span>과정명</span>
<span>${list.prcsNm } (${list.prcsAplctPrdOrd })</span> <span>${list.prcsNm }</span>
<%-- <span>${list.prcsNm } (${list.prcsAplctPrdOrd })</span> --%>
</li> </li>
<li> <li>
<span>교육기간</span> <span>교육기간</span>

View File

@ -141,7 +141,8 @@
</li> </li>
<li> <li>
<span>과정명</span> <span>과정명</span>
<span>${list.prcsNm } (${list.prcsAplctPrdOrd })</span> <%-- <span>${list.prcsNm } (${list.prcsAplctPrdOrd })</span> --%>
<span>${list.prcsNm }</span>
</li> </li>
<li> <li>
<span>교육기간</span> <span>교육기간</span>

View File

@ -87,6 +87,7 @@
, "innorixFileListVO": data , "innorixFileListVO": data
, "successMsg" : "제출 완료되었습니다." , "successMsg" : "제출 완료되었습니다."
, "fileType" : "LCTRPLAN" , "fileType" : "LCTRPLAN"
, "lctrDivCd" : "60"
} }
if(fn_innorixCmmAjax(sendData, url) == "OK") if(fn_innorixCmmAjax(sendData, url) == "OK")
{ {

View File

@ -128,7 +128,8 @@
</li> </li>
<li> <li>
<span>과정명</span> <span>과정명</span>
<span>${list.prcsNm } (${list.prcsAplctPrdOrd })</span> <%-- <span>${list.prcsNm } (${list.prcsAplctPrdOrd })</span> --%>
<span>${list.prcsNm }</span>
</li> </li>
<li> <li>
<span>교육기간</span> <span>교육기간</span>

View File

@ -87,6 +87,7 @@
, "innorixFileListVO": data , "innorixFileListVO": data
, "successMsg" : "제출 완료되었습니다." , "successMsg" : "제출 완료되었습니다."
, "fileType" : "DOCATCH" , "fileType" : "DOCATCH"
, "lctrDivCd" : "60"
} }
if(fn_innorixCmmAjax(sendData, url) == "OK") if(fn_innorixCmmAjax(sendData, url) == "OK")
{ {

View File

@ -141,7 +141,8 @@
</li> </li>
<li> <li>
<span>과정명</span> <span>과정명</span>
<span>${list.prcsNm } (${list.prcsAplctPrdOrd })</span> <%-- <span>${list.prcsNm } (${list.prcsAplctPrdOrd })</span> --%>
<span>${list.prcsNm }</span>
</li> </li>
<li> <li>
<span>교육일자</span> <span>교육일자</span>