diff --git a/src/main/java/kcc/ve/instr/tngrVisitEdu/instrInfo/service/VEInstrDetailActvtHstryService.java b/src/main/java/kcc/ve/instr/tngrVisitEdu/instrInfo/service/VEInstrDetailActvtHstryService.java index 0136e193..3be4dd84 100644 --- a/src/main/java/kcc/ve/instr/tngrVisitEdu/instrInfo/service/VEInstrDetailActvtHstryService.java +++ b/src/main/java/kcc/ve/instr/tngrVisitEdu/instrInfo/service/VEInstrDetailActvtHstryService.java @@ -1,6 +1,16 @@ package kcc.ve.instr.tngrVisitEdu.instrInfo.service; +import java.util.List; + public interface VEInstrDetailActvtHstryService { + + List select(VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVO); + + List selectPagingList(VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVO); + + VEInstrDetailActvtHstryVO findById(VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVO); + + void updateStateCd(VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVO); diff --git a/src/main/java/kcc/ve/instr/tngrVisitEdu/instrInfo/service/VEInstrDetailActvtHstryVO.java b/src/main/java/kcc/ve/instr/tngrVisitEdu/instrInfo/service/VEInstrDetailActvtHstryVO.java index 81ef11c6..97e48ae4 100644 --- a/src/main/java/kcc/ve/instr/tngrVisitEdu/instrInfo/service/VEInstrDetailActvtHstryVO.java +++ b/src/main/java/kcc/ve/instr/tngrVisitEdu/instrInfo/service/VEInstrDetailActvtHstryVO.java @@ -27,6 +27,8 @@ public class VEInstrDetailActvtHstryVO extends ComDefaultVO implements Serializa // VE_INSTR_DETAIL_ACTVT_HSTRY private String instrDetailActvtHstryOrd; private String instrDetailOrd; + private String instrDiv; + private String instrNm; private String aplctPnttm; private String stateCd; private String statePnttm; @@ -37,6 +39,13 @@ public class VEInstrDetailActvtHstryVO extends ComDefaultVO implements Serializa private String lastUpdtPnttm; private String lastUpdusrId; + private String phone; + private String post; + private String addr; + private String addrDetail; + + private String selectPagingListQuery; + private String userId; public String getInstrDetailActvtHstryOrd() { @@ -51,6 +60,18 @@ public class VEInstrDetailActvtHstryVO extends ComDefaultVO implements Serializa public void setInstrDetailOrd(String instrDetailOrd) { this.instrDetailOrd = instrDetailOrd; } + public String getInstrDiv() { + return instrDiv; + } + public String getInstrNm() { + return instrNm; + } + public void setInstrNm(String instrNm) { + this.instrNm = instrNm; + } + public void setInstrDiv(String instrDiv) { + this.instrDiv = instrDiv; + } public String getAplctPnttm() { return aplctPnttm; } @@ -105,6 +126,42 @@ public class VEInstrDetailActvtHstryVO extends ComDefaultVO implements Serializa public void setLastUpdusrId(String lastUpdusrId) { this.lastUpdusrId = lastUpdusrId; } + public String getPhone() { + return phone; + } + public void setPhone(String phone) { + this.phone = phone; + } + public String getPost() { + return post; + } + public void setPost(String post) { + this.post = post; + } + public String getAddr() { + return addr; + } + public void setAddr(String addr) { + this.addr = addr; + } + public String getAddrDetail() { + return addrDetail; + } + public void setAddrDetail(String addrDetail) { + this.addrDetail = addrDetail; + } + public String getSelectPagingListQuery() { + return selectPagingListQuery; + } + public void setSelectPagingListQuery(String selectPagingListQuery) { + this.selectPagingListQuery = selectPagingListQuery; + } + public String getUserId() { + return userId; + } + public void setUserId(String userId) { + this.userId = userId; + } diff --git a/src/main/java/kcc/ve/instr/tngrVisitEdu/instrInfo/service/impl/VEInstrDetailActvtHstryDAO.java b/src/main/java/kcc/ve/instr/tngrVisitEdu/instrInfo/service/impl/VEInstrDetailActvtHstryDAO.java index 1a2c9b79..34760750 100644 --- a/src/main/java/kcc/ve/instr/tngrVisitEdu/instrInfo/service/impl/VEInstrDetailActvtHstryDAO.java +++ b/src/main/java/kcc/ve/instr/tngrVisitEdu/instrInfo/service/impl/VEInstrDetailActvtHstryDAO.java @@ -5,6 +5,7 @@ import java.util.List; import org.springframework.stereotype.Repository; import egovframework.rte.psl.dataaccess.EgovAbstractDAO; +import kcc.kccadr.accdnt.acd.service.AdjstChangeDateVO; import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailActvtHstryVO; import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailVO; @@ -15,6 +16,23 @@ public class VEInstrDetailActvtHstryDAO extends EgovAbstractDAO { insert("VEInstrDetailActvtHstryDAO.insert", vEInstrActvtHstryVO); } + public List selectList(VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVO) { + return (List) list("VEInstrDetailActvtHstryDAO.selectList", vEInstrDetailActvtHstryVO); + } + + public List selectPagingList(VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVO) { + return (List) list("VEInstrDetailActvtHstryDAO.selectPagingList", vEInstrDetailActvtHstryVO); + } + + public VEInstrDetailActvtHstryVO findById(VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVO) { + return (VEInstrDetailActvtHstryVO) select("VEInstrDetailActvtHstryDAO.findById", vEInstrDetailActvtHstryVO); + // TODO Auto-generated method stub + } + + public void updateStateCd(VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVO) { + update("VEInstrDetailActvtHstryDAO.updateStateCd", vEInstrDetailActvtHstryVO); + } + /** * 등록 - C * @param AdjstChangeDateVO diff --git a/src/main/java/kcc/ve/instr/tngrVisitEdu/instrInfo/service/impl/VEInstrDetailActvtHstryServiceImpl.java b/src/main/java/kcc/ve/instr/tngrVisitEdu/instrInfo/service/impl/VEInstrDetailActvtHstryServiceImpl.java index cbbf5a6e..2a998101 100644 --- a/src/main/java/kcc/ve/instr/tngrVisitEdu/instrInfo/service/impl/VEInstrDetailActvtHstryServiceImpl.java +++ b/src/main/java/kcc/ve/instr/tngrVisitEdu/instrInfo/service/impl/VEInstrDetailActvtHstryServiceImpl.java @@ -1,11 +1,14 @@ package kcc.ve.instr.tngrVisitEdu.instrInfo.service.impl; +import java.util.List; + import javax.annotation.Resource; import org.springframework.stereotype.Service; import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailActvtHstryService; +import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailActvtHstryVO; @Service("vEInstrDetailActvtHstryService") public class VEInstrDetailActvtHstryServiceImpl implements VEInstrDetailActvtHstryService { @@ -13,6 +16,31 @@ public class VEInstrDetailActvtHstryServiceImpl implements VEInstrDetailActvtHst //강사 상세 @Resource(name="vEInstrDetailActvtHstryDAO") private VEInstrDetailActvtHstryDAO vEInstrDetailActvtHstryDAO; + + + @Override + public List select(VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVO) { + return vEInstrDetailActvtHstryDAO.selectList(vEInstrDetailActvtHstryVO); + } + + + @Override + public List selectPagingList(VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVO) { + return vEInstrDetailActvtHstryDAO.selectPagingList(vEInstrDetailActvtHstryVO); + } + + + @Override + public VEInstrDetailActvtHstryVO findById(VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVO) { + return vEInstrDetailActvtHstryDAO.findById(vEInstrDetailActvtHstryVO); + } + + + @Override + public void updateStateCd(VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVO) { + vEInstrDetailActvtHstryDAO.updateStateCd(vEInstrDetailActvtHstryVO); + } + /* //C @@ -55,4 +83,5 @@ public class VEInstrDetailActvtHstryServiceImpl implements VEInstrDetailActvtHst + } diff --git a/src/main/java/kcc/ve/instr/tngrVisitEdu/instrInfo/web/InstrPrflController.java b/src/main/java/kcc/ve/instr/tngrVisitEdu/instrInfo/web/InstrPrflController.java index d6b4e19a..0304ccd6 100644 --- a/src/main/java/kcc/ve/instr/tngrVisitEdu/instrInfo/web/InstrPrflController.java +++ b/src/main/java/kcc/ve/instr/tngrVisitEdu/instrInfo/web/InstrPrflController.java @@ -44,6 +44,8 @@ import kcc.ve.adv.tngr.stngInfo.service.VEAStngService; import kcc.ve.adv.tngr.stngInfo.service.VEAStngVO; import kcc.ve.instr.tngrVisitEdu.asgnmInfo.service.VEAsgnmMIXService; import kcc.ve.instr.tngrVisitEdu.asgnmInfo.service.VEInstrAsgnmVO; +import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailActvtHstryService; +import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailActvtHstryVO; import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailService; import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailVO; import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrMixService; @@ -154,6 +156,9 @@ public class InstrPrflController { @Resource(name = "vEAStngService") private VEAStngService vEAStngService; + @Resource(name = "vEInstrDetailActvtHstryService") + private VEInstrDetailActvtHstryService vEInstrDetailActvtHstryService; + /** * 1.신청변경신청 목록 - L */ @@ -755,9 +760,15 @@ public class InstrPrflController { vEInstrDetailVO.setFirstIndex(0); vEInstrDetailVO.setSelectPagingListQuery(" AND a.aprvl_cd = '10' AND NVL(a.use_yn,'N') = 'N' "); List vEInstrMdfyRqstList = vEInstrDetailService.selectPagingList(vEInstrDetailVO); - model.addAttribute("vEInstrMdfyRqstList", vEInstrMdfyRqstList); + VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVO = new VEInstrDetailActvtHstryVO(); + vEInstrDetailActvtHstryVO.setInstrDetailOrd(info.getInstrDetailOrd()); + // 강사활동확인서내역 + List vEInstrActvtHstryList = vEInstrDetailActvtHstryService.select(vEInstrDetailActvtHstryVO); + model.addAttribute("vEInstrActvtHstryList", vEInstrActvtHstryList); + + return "/web/ve/instr/tngrVisitEdu/instrInfo/instrPrflDetail"; } diff --git a/src/main/java/kcc/ve/oprtn/tngrVisitEdu/instrActvtHstryMng/InstrActvtHstryMngController.java b/src/main/java/kcc/ve/oprtn/tngrVisitEdu/instrActvtHstryMng/InstrActvtHstryMngController.java new file mode 100644 index 00000000..2807dd83 --- /dev/null +++ b/src/main/java/kcc/ve/oprtn/tngrVisitEdu/instrActvtHstryMng/InstrActvtHstryMngController.java @@ -0,0 +1,289 @@ +package kcc.ve.oprtn.tngrVisitEdu.instrActvtHstryMng; + +import java.util.List; +import java.util.Properties; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; + +import org.apache.commons.lang3.StringUtils; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.stereotype.Controller; +import org.springframework.ui.ModelMap; +import org.springframework.web.bind.annotation.ModelAttribute; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.servlet.ModelAndView; + +import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo; +import kcc.com.cmm.LoginVO; +import kcc.com.cmm.service.EgovCmmUseService; +import kcc.com.cmm.service.EgovFileMngService; +import kcc.com.cmm.service.EgovFileMngUtil; +import kcc.com.utl.user.service.CheckLoginUtil; +import kcc.let.uat.uia.service.SsoLoginVO; +import kcc.let.utl.fcc.service.EgovCryptoUtil; +import kcc.ve.cmm.VeConstants; +import kcc.ve.instr.tngrVisitEdu.eduInfo.service.VEEduAplctVO; +import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailActvtHstryService; +import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailActvtHstryVO; + +/** + * 교육일정관리(관리자-청소년찾아가는저작권교육) + * 교육일정관리에 관한 controller 클래스를 정의한다. + * @author 조용준 + * @since 2021.12.16 + * @version 1.0 + * @see + * + *
+ * << 개정이력(Modification Information) >>
+ *
+ *   수정일      수정자           수정내용
+ *  -------    --------    ---------------------------
+ *   2021.12.16  조용준          최초 생성
+ *
+ * 
+ */ + +@Controller +public class InstrActvtHstryMngController { + + private static final Logger LOGGER = LoggerFactory.getLogger(InstrActvtHstryMngController.class); + + //로그인 체크 util + @Resource(name = "checkLoginUtil") + private CheckLoginUtil checkLoginUtil; + + // eGov 공통코드 + @Resource(name = "EgovCmmUseService") + private EgovCmmUseService cmmUseService; + + @Resource(name = "EgovFileMngService") + private EgovFileMngService fileService; + + // global 프로퍼티 + @Resource(name="globalSettings") + protected Properties propertiesService; + + //첨부파일 경로, realPath 설정 + @Resource(name="EgovFileMngUtil") + private EgovFileMngUtil fileUtil; + + // 첨부파일 정보 + @Resource(name="EgovFileMngService") + private EgovFileMngService fileMngService; + + // 첨부파일 정보 + @Resource(name="vEInstrDetailActvtHstryService") + private VEInstrDetailActvtHstryService vEInstrDetailActvtHstryService; + + //암복호화 유틸 + @Resource(name = "egovCryptoUtil") + EgovCryptoUtil egovCryptoUtil; + + + + /** + * 강사활동확인서신청관리 목록 + */ + @RequestMapping("/kccadr/oprtn/tngrVisitEdu/instrActvtHstryMngList.do") + public String instrActvtHstryMngList( + @ModelAttribute("vEInstrActvtHstryVO") VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVO + , ModelMap model + , HttpServletRequest request + ) throws Exception { + + //로그인 처리==================================== + //로그인 정보 가져오기 + LoginVO loginVO = checkLoginUtil.getAuthLoginVO(); //권한에 따른 로그인 정보 가져오기 + SsoLoginVO ssoLoginVO = checkLoginUtil.getSSOLoginVO(request); //SSO 로그인 정보 가져오기 + +// if (loginVO == null || ssoLoginVO == null) { +// return checkLoginUtil.getUserLoginPage(model); //로그인 정보가 없으면 로그인 페이지로 이동한다. +// } + //로그인 처리==================================== + vEInstrDetailActvtHstryVO.setInstrDiv(VeConstants.LCTR_DIV_CD_10); //청소년 + + //1.pageing step1 + PaginationInfo paginationInfo = this.setPagingStep1(vEInstrDetailActvtHstryVO); + //2. pageing step2 + vEInstrDetailActvtHstryVO = this.setPagingStep2(vEInstrDetailActvtHstryVO, paginationInfo); + vEInstrDetailActvtHstryVO.setSearchKeyword(egovCryptoUtil.encrypt(vEInstrDetailActvtHstryVO.getSearchKeyword())); + List vEInstrDetailActvtHstryVOList = vEInstrDetailActvtHstryService.selectPagingList(vEInstrDetailActvtHstryVO); + + vEInstrDetailActvtHstryVOList.stream().forEach(t-> t.setInstrNm(egovCryptoUtil.decrypt(t.getInstrNm()))); + + //3.pageing step3 + paginationInfo = this.setPagingStep3(vEInstrDetailActvtHstryVOList, paginationInfo); + model.addAttribute("paginationInfo", paginationInfo); + + // 검색어 복호화 + vEInstrDetailActvtHstryVO.setSearchKeyword(egovCryptoUtil.decrypt(vEInstrDetailActvtHstryVO.getSearchKeyword())); + //대상 리스트, 페이징 정보 전달 + model.addAttribute("list", vEInstrDetailActvtHstryVOList); + + + + return "oprtn/tngrVisitEdu/instrActvtHstryMngList"; + } + + + /** + * 강사활동확인서신청관리 상세 + */ + @RequestMapping("/kccadr/oprtn/tngrVisitEdu/instrActvtHstryMngDetail.do") + public String instrActvtHstryMngDetail( + @ModelAttribute("vEInstrActvtHstryVO") VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVO + , ModelMap model + , HttpServletRequest request + ) throws Exception { + + //로그인 처리==================================== + //로그인 정보 가져오기 +// String s_oprtnLoginCheckNInfo = checkLoginUtil.oprtnCheckNInfo(model); +// if (!"".equals(s_oprtnLoginCheckNInfo)) return s_oprtnLoginCheckNInfo; + + //로그인 처리==================================== + //로그인 정보 가져오기 + LoginVO loginVO = checkLoginUtil.getAuthLoginVO(); //권한에 따른 로그인 정보 가져오기 + SsoLoginVO ssoLoginVO = checkLoginUtil.getSSOLoginVO(request); //SSO 로그인 정보 가져오기 + +// if (loginVO == null || ssoLoginVO == null) { +// return checkLoginUtil.getUserLoginPage(model); //로그인 정보가 없으면 로그인 페이지로 이동한다. +// } + vEInstrDetailActvtHstryVO.setInstrDiv(VeConstants.LCTR_DIV_CD_10); //청소년 + + VEInstrDetailActvtHstryVO vEInstrActvtHstryVO = vEInstrDetailActvtHstryService.findById(vEInstrDetailActvtHstryVO); + + vEInstrActvtHstryVO.setInstrNm(egovCryptoUtil.decrypt(vEInstrActvtHstryVO.getInstrNm())); + vEInstrActvtHstryVO.setPhone(egovCryptoUtil.decrypt(vEInstrActvtHstryVO.getPhone())); + + //대상 리스트, 페이징 정보 전달 + model.addAttribute("info", vEInstrActvtHstryVO); + + + + return "oprtn/tngrVisitEdu/instrActvtHstryMngDetail"; + } + + /** + * 강사활동확인서신청관리 상세 + */ + @RequestMapping("/kccadr/oprtn/tngrVisitEdu/popup/instrCnclPopup.do") + public String instrCnclPopup( + @ModelAttribute("vEInstrActvtHstryVO") VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVO + , ModelMap model + , HttpServletRequest request + ) throws Exception { + + //로그인 처리==================================== + //로그인 정보 가져오기 + LoginVO loginVO = checkLoginUtil.getAuthLoginVO(); //권한에 따른 로그인 정보 가져오기 + SsoLoginVO ssoLoginVO = checkLoginUtil.getSSOLoginVO(request); //SSO 로그인 정보 가져오기 + +// if (loginVO == null || ssoLoginVO == null) { +// return checkLoginUtil.getUserLoginPage(model); //로그인 정보가 없으면 로그인 페이지로 이동한다. +// } + //대상 리스트, 페이징 정보 전달 + model.addAttribute("info", vEInstrDetailActvtHstryVO); + + + + return "oprtn/tngrVisitEdu/popup/instrCnclPopup"; + } + + + + @RequestMapping("/kccadr/oprtn/tngrVisitEdu/updateStateCd.do") + public ModelAndView updateStateCd( + @ModelAttribute("vEInstrActvtHstryVO") VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVO + , ModelMap model + //, RedirectAttributes redirectAttributes + , 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(); //권한에 따른 로그인 정보 가져오기 + SsoLoginVO ssoLoginVO = checkLoginUtil.getSSOLoginVO(request); //SSO 로그인 정보 가져오기 + + + vEInstrDetailActvtHstryVO.setLastUpdusrId(loginVO.getUniqId()); + vEInstrDetailActvtHstryService.updateStateCd(vEInstrDetailActvtHstryVO); + + modelAndView.addObject("result", "success"); + + return modelAndView; + + } + + + + ////////////////////////////////////////////////////////////////////////////////////////////////////////////// + // + // + // private function + // + // + + //페이징을 위한 처리 step1 - 페이징 기본 정보 설정 + private PaginationInfo setPagingStep1( + VEInstrDetailActvtHstryVO p_vEEduAplctVO + )throws Exception{ + // pageing step1 + PaginationInfo paginationInfo = new PaginationInfo(); + paginationInfo.setCurrentPageNo(p_vEEduAplctVO.getPageIndex()); + paginationInfo.setRecordCountPerPage(p_vEEduAplctVO.getPageUnit()); + paginationInfo.setPageSize(p_vEEduAplctVO.getPageSize()); + + return paginationInfo; + } + + + //페이징을 위한 처리 step2 - 게시물 리스트 수량 설정 및 검색 조건 초기화 + private VEInstrDetailActvtHstryVO setPagingStep2( + VEInstrDetailActvtHstryVO p_vEEduAplctVO + , PaginationInfo p_paginationInfo + )throws Exception{ + // pageing step2 + p_vEEduAplctVO.setFirstIndex(p_paginationInfo.getFirstRecordIndex()); + p_vEEduAplctVO.setLastIndex(p_paginationInfo.getLastRecordIndex()); + p_vEEduAplctVO.setRecordCountPerPage(p_paginationInfo.getRecordCountPerPage()); + + if("".equals(p_vEEduAplctVO.getSearchSortCnd())){ //최초조회시 최신것 조회List + p_vEEduAplctVO.setSearchSortCnd("prcs_ord"); + p_vEEduAplctVO.setSearchSortOrd("desc"); + } + + return p_vEEduAplctVO; + } + + + //페이징을 위한 처리 step3 - 전체 게시물 수량 설정하기 + private PaginationInfo setPagingStep3( + List p_vEEduAplctVOList + + , PaginationInfo p_paginationInfo + )throws Exception{ + // pageing step3 + int totCnt = 0; + if(p_vEEduAplctVOList.size() > 0) totCnt = p_vEEduAplctVOList.get(0).getTotCnt(); + p_paginationInfo.setTotalRecordCount(totCnt); + + return p_paginationInfo; + } +} diff --git a/src/main/resources/egovframework/sqlmap/ve/instr/VEInstrDetailActvtHstry_SQL_Tibero.xml b/src/main/resources/egovframework/sqlmap/ve/instr/VEInstrDetailActvtHstry_SQL_Tibero.xml index d9564855..295384b8 100644 --- a/src/main/resources/egovframework/sqlmap/ve/instr/VEInstrDetailActvtHstry_SQL_Tibero.xml +++ b/src/main/resources/egovframework/sqlmap/ve/instr/VEInstrDetailActvtHstry_SQL_Tibero.xml @@ -30,19 +30,20 @@ a.instr_detail_actvt_hstry_ord as instrDetailActvtHstryOrd - , a.instr_detail_ord as instrDetailOrd - , a.aplct_pnttm as aplctPnttm + , a.instr_detail_ord as instrDetailOrd + , TO_CHAR(a.aplct_pnttm,'YYYY-MM-DD') AS aplctPnttm , a.state_cd as stateCd - , a.state_pnttm as statePnttm + , TO_CHAR(a.state_pnttm,'YYYY-MM-DD') AS statePnttm , a.aplct_atch_file_id as aplctAtchFileId - , a.cmpnn_cn as cmpnnCn - , a.frst_regist_pnttm as frstRegistPnttm + , a.cmpnn_cn as cmpnnCn + , TO_CHAR(a.frst_regist_pnttm,'YYYY-MM-DD') AS frstRegistPnttm , a.frst_register_id as frstRegisterId - , a.last_updt_pnttm as lastUpdtPnttm + , TO_CHAR(a.last_updt_pnttm,'YYYY-MM-DD') AS frstRegistPnttm , a.last_updusr_id as lastUpdusrId + /* VEInstrDetailActvtHstryDAO.insert */ INSERT INTO ( )VALUES( @@ -53,11 +54,93 @@ , SYSDATE , #aplctAtchFileId# , #cmpnnCn# - , SYSDATE + , '' , #frstRegisterId# , SYSDATE , #lastUpdusrId# ) + + + + + + + UPDATE + + SET + state_cd = #stateCd# + + , cmpnn_cn = #cmpnnCn# + + , state_pnttm = SYSDATE + , LAST_UPDT_PNTTM = SYSDATE + , LAST_UPDUSR_ID = #lastUpdusrId# + WHERE + instr_detail_actvt_hstry_ord = #instrDetailActvtHstryOrd# + + + + + + + diff --git a/src/main/webapp/WEB-INF/jsp/oprtn/tngrVisitEdu/instrActvtHstryMngDetail.jsp b/src/main/webapp/WEB-INF/jsp/oprtn/tngrVisitEdu/instrActvtHstryMngDetail.jsp new file mode 100644 index 00000000..d1e920d2 --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/oprtn/tngrVisitEdu/instrActvtHstryMngDetail.jsp @@ -0,0 +1,233 @@ + +<%@ page language="java" contentType="text/html; charset=utf-8" + pageEncoding="utf-8"%> +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> +<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> +<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> +<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> +<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> +<%@ taglib prefix="ve" uri="/WEB-INF/tlds/kcc_tld.tld"%> +<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %> +<% + /** + * @Class Name : fndthEduPrcsMngDetail.jsp + * @Description : 기반강화연수 상세화면 + * @Modification Information + * @ + * @ 수정일 수정자 수정내용 + * @ ------- -------- --------------------------- + * @ 2021.12.16 조용준 최초 생성 + * @author 조용주 + * @since 2021.12.16 + * @version 1.0 + * @see + * + */ +%> + + +교육과정관리 + + + + + + +
+ + +
+ + + + +
+
+ + +
+

강사활동확인서신청관리 상세

+
    +
  • +
  • +

    청소년 찾아가는 저작권 교육

    +
  • +
  • 강사활동확인서신청관리
  • +
+
+ + +
+ +
+

교육과정관리

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
강사명 + +
신청일자 + +
상태 + +
연락처 + +
주소 + () + +
+
+ + + +
+
+ + +
+
+
+
+ + + +
+
+
+
+
+
+ + + + + + + + diff --git a/src/main/webapp/WEB-INF/jsp/oprtn/tngrVisitEdu/instrActvtHstryMngList.jsp b/src/main/webapp/WEB-INF/jsp/oprtn/tngrVisitEdu/instrActvtHstryMngList.jsp new file mode 100644 index 00000000..fe9cbad3 --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/oprtn/tngrVisitEdu/instrActvtHstryMngList.jsp @@ -0,0 +1,225 @@ + +<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> +<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> +<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> +<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> +<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> +<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %> +<%@ taglib prefix="ve" uri="/WEB-INF/tlds/kcc_tld.tld"%> +<%@ taglib prefix="un" uri="http://jakarta.apache.org/taglibs/unstandard-1.0" %> +<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> + +<% + /** + * @Class Name : eduInstrFeeMngList.jsp + * @Description : 강사료 확정 관리 > 강사료 확정 목록 + * @Modification Information + * @ + * @ 수정일 수정자 수정내용 + * @ ------- -------- --------------------------- + * @ 2022.12.7 안주영 최초 생성 + * @author 안주영 + * @since 2022.2.7 + * @version 1.0 + * @see + * + */ +%> + + + + + + 강사활동확인서신청관리 + + +
+ +
+
+ + " /> + " /> + +
+
+ + +
+

강사활동확인서신청관리 목록

+
    +
  • +
  • +

    청소년 찾아가는 저작권 교육

    +
  • +
  • 강사활동확인서신청관리
  • +
+
+ + +
+ +
+
+
+

구분

+
+
+ +
+
+
+
+

신청일자

+
+
+
+ +
+ ~ +
+ +
+ +
+
+
+
+

강사명

+
+
+ + + +
+
+
+ + + +
+

총 건수 :

+
+ +
+
+ + +
+ + + +<%-- --%> +<%-- --%> +<%-- --%> + + + + + + + + + + + + + + + + + + + + + + + + +
번호강사명신청일처리일발급상태
+ + + ${list.instrNm } + + ${list.aplctPnttm } + + + + - + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
+
+
+
+
+
+
+
+ + +
+ + + diff --git a/src/main/webapp/WEB-INF/jsp/oprtn/tngrVisitEdu/popup/instrCnclPopup.jsp b/src/main/webapp/WEB-INF/jsp/oprtn/tngrVisitEdu/popup/instrCnclPopup.jsp new file mode 100644 index 00000000..db166773 --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/oprtn/tngrVisitEdu/popup/instrCnclPopup.jsp @@ -0,0 +1,108 @@ + +<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> +<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> +<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> +<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> +<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> +<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %> +<%@ taglib prefix="ve" uri="/WEB-INF/tlds/kcc_tld.tld"%> + + + + +<%-- --%> + + + 강사배치 팝업 + + + + +
+
+
+ + +
+
+
+

강사활동확인서 반려

+
+ +
+ + + + + + + + + + + +

반려사유

+ +
+
+ + +
+
+
+
+ + +
+
+
+
+
+
+ +
+
+
+ + + diff --git a/src/main/webapp/WEB-INF/jsp/web/ve/instr/tngrVisitEdu/instrInfo/instrPrflDetail.jsp b/src/main/webapp/WEB-INF/jsp/web/ve/instr/tngrVisitEdu/instrInfo/instrPrflDetail.jsp index 6dc059b6..8a9ad382 100644 --- a/src/main/webapp/WEB-INF/jsp/web/ve/instr/tngrVisitEdu/instrInfo/instrPrflDetail.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/ve/instr/tngrVisitEdu/instrInfo/instrPrflDetail.jsp @@ -251,7 +251,18 @@ location.reload(true); } } - + /* 첨부파일 다운로드 */ + function fn_egov_downFile(atchFileId, fileSn){//atchFileId -> 파일 Id, fileSn -> 파일 순번 + window.open(""); + } + + function fn_cmpnnCnPopup(instrDetailActvtHstryOrd, cmpnnCn, $this){ + +// console.log($this); +// $($this).next('input#cmpnnCnBtn').click(); + $('#cmpnnCnText').text(cmpnnCn); + } +
@@ -356,475 +367,599 @@ -
-
-

강사정보 상세

+
+
+

강사정보 상세

+
+
+ +
+

찾아가는 저작권 교육

+ ‘찾아가는 저작권 교육’은 저작권 교육이 필요한 전국 초ㆍ중ㆍ고등학교, + 청소년ㆍ아동복지ㆍ노인ㆍ장애인 기관 및 단체 등에 직접 방문하여 무료로 강의를 지원하는 맞춤형 교육 서비스입니다. +
-
- -
-

찾아가는 저작권 교육

- ‘찾아가는 저작권 교육’은 저작권 교육이 필요한 전국 초ㆍ중ㆍ고등학교, 청소년ㆍ아동복지ㆍ노인ㆍ장애인 기관 및 단체 등에 직접 방문하여 무료로 강의를 지원하는 맞춤형 교육 서비스입니다. +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + " /> + + + + + + +
+
+

강사 정보

+ <%----%>
-
- - - - - - - - - - - - - - - - " /> +
+
+ + + + + + + + + + + + + + + + + + + + + - - - - - -
-
-

강사 정보

- <%----%> -
-
-
-
성인대상 강사신청 등록 (th 명)을 입력하는 표
+

+ 필수입력 항목* +

+

강사명

+
+ +

+ +

+
+
+
+ + 이미지를 넣어주세요 + + + ${info.instrNm} 사진?atchFileId=' /> + +
+
+
+
+

+ 필수입력 항목* +

+

연락처(핸드폰)

+
+

+ +

+
+

+ 필수입력 항목* +

+

e-mail

+
+

+ +

+
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
성인대상 강사신청 등록 (th 명)을 입력하는 표
-

필수입력 항목*

-

강사명

-
- -

-
-
-
- - 이미지를 넣어주세요 - - - ${info.instrNm} 사진?atchFileId=' /> - -
-
-
-
-

필수입력 항목*

-

연락처(핸드폰)

-
-

-
-

필수입력 항목*

-

e-mail

-
-

-
-

필수입력 항목*

-

주소

-
-


-

 

-
-

필수입력 항목*

-

거주지

-
-

-
-

필수입력 항목*

-

생년월일

-
-

..

-
-

필수입력 항목*

-

최종학교

-
-

-
-

필수입력 항목*

-

전공

-
-

-
-

필수입력 항목*

-

최종학교

-
-

-
-

필수입력 항목*

-

전공

-
-

-
-

필수입력 항목*

-

위촉년도

-
-

-
-

필수입력 항목*

-

구분

-
-

-
-

필수입력 항목*

-

위촉년도

-
-

-
-

필수입력 항목*

-

구분

-
-

-
-

필수입력 항목*

-

위촉구분

-
-

-
-

필수입력 항목*

-

활동경력

-
- - -
-

필수입력 항목*

-

주요강의내용

-
- - -
+ + +

+ 필수입력 항목* +

+

주소

+ + +

+ +

+
+

+ +   + +

+ + + + +

+ 필수입력 항목* +

+

거주지

+ + +

+ +

+ + + + +

+ 필수입력 항목* +

+

생년월일

+ + +

+ + . + + . + +

+ + + + +

+ 필수입력 항목* +

+

최종학교

+ + +

+ +

+ + +

+ 필수입력 항목* +

+

전공

+ + +

+ +

+ + + + +

+ 필수입력 항목* +

+

최종학교

+ + +

+ +

+ + + + +

+ 필수입력 항목* +

+

전공

+ + +

+ +

+ + + + +

+ 필수입력 항목* +

+

위촉년도

+ + +

+ +

+ + +

+ 필수입력 항목* +

+

구분

+ + +

+ +

+ + + + +

+ 필수입력 항목* +

+

위촉년도

+ + +

+ +

+ + + + +

+ 필수입력 항목* +

+

구분

+ + +

+ +

+ + + +

+ 필수입력 항목* +

+

위촉구분

+ + +

+

+ +

+

+ + + + +

+ 필수입력 항목* +

+

활동경력

+ + + + + +

+ 필수입력 항목* +

+

주요강의내용

+ + + + + +
+ + +
+
+

강사위촉 이력

- - -
-
-

강사위촉 이력

-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + +
강사위촉 정보 번호, 요청일, 구분, 신청상태, 승인일(반려일), 비고 을/를 제공하는 표
번호요청일위촉연도위촉구분강사상태위촉일/해촉일
1 - + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - -
강사위촉 정보 번호, 요청일, 구분, 신청상태, 승인일(반려일), 비고 을/를 제공하는 + 표
번호요청일위촉연도위촉구분강사상태위촉일/해촉일
1 위촉 - - + 해촉 - - - - - - - - -
+
+ + + +
+
+ + +
+
+

정보변경 이력

- - -
-
-

정보변경 이력

-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
강사신청 정보 번호, 요청일, 구분, 신청상태, 승인일(반려일), 비고 을/를 제공하는 표
번호변경일구분상태확인일비고
${status.count}몇개변경${aprvlCd} - <%-- --%> - -
-
-
- - -
-
-

패널티 내역

-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
패널티 정보 번호, 요청일, 구분, 신청상태, 승인일(반려일), 비고 을/를 제공하는 표
번호세부항목등록일자차시학교지역
${status.count} - - ~ - (분) -
-
-
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
강사신청 정보 번호, 요청일, 구분, 신청상태, 승인일(반려일), 비고 을/를 + 제공하는 표
번호변경일구분상태확인일비고
${status.count}몇개변경${aprvlCd} + <%-- --%> + +
+
+
+ + +
+
+

패널티 내역

+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
패널티 정보 번호, 요청일, 구분, 신청상태, 승인일(반려일), 비고 을/를 제공하는 + 표
번호세부항목등록일자차시학교지역
${status.count} + ~ + (분)
+
+
+
+ + +
+
+

활동확인서 내역

+
+
+ + <%-- --%> +
+
+
+ + + + + + <%-- --%> + + + + + + + + + + + + + + + + + + + + + + + + + + +
강의 설정 정보 번호, 요청일, 구분, 신청상태, 승인일(반려일), 비고 을/를 제공하는 + 표
번호신청일처리일발급상태
${status.count} + + + + + - + + + + + + + + + + + + + + + + + + + +
+
+ +
+
+
+ + + - - -
-
-

활동확인서 내역

-
-
-
-
-
-
- -<%-- --%> -
-
-
- - - - - - <%-- --%> - - - - - - - - - - - - - - - - - - - -<%-- --%> -<%-- --%> - - <%-- --%> -<%-- --%> - - - - - - -
강의 설정 정보 번호, 요청일, 구분, 신청상태, 승인일(반려일), 비고 을/를 제공하는 표
번호신청일발급일발급상태양식
- ${status.count} - - 2023-11-02 - - 2023-11-03 - - 완료 / 처리중 / 반려 - - - - -
-
- -
-
-
- - - - - -
-
- - -
+ +
+
+ + +
@@ -888,3 +1023,98 @@
+ + + + + +
+ +
+ + + + + +