diff --git a/src/main/java/kcc/ve/adv/tngr/stngInfo/service/VEAStngMixService.java b/src/main/java/kcc/ve/adv/tngr/stngInfo/service/VEAStngMixService.java index fd325d96..0787308f 100644 --- a/src/main/java/kcc/ve/adv/tngr/stngInfo/service/VEAStngMixService.java +++ b/src/main/java/kcc/ve/adv/tngr/stngInfo/service/VEAStngMixService.java @@ -41,5 +41,12 @@ public interface VEAStngMixService { //vea_lctr_rnds_stng - 해당 회차의 신청 가능한 시간인지 체크 //vea_area_lctr_stng - boolean eduAplctChkTime(VEAStngVO vEAStngVO , HttpServletRequest request) throws Exception; + boolean eduAplctChkTime(VEAStngVO vEAStngVO , HttpServletRequest request) throws Exception; + + //vea_lctr_psbl_prd_stng - 해당 회차의 신청 가능한 기간일지 체크 + String selectEduGetStngYrToStr(VEAStngVO vEAStngVO) throws Exception; + + //VEA_INSTR_ASGNM_CNDTN - 강사배정조건 + //강의가능기간 일정 데이터 - 강의가능기간 세부 선택 데이터 + List selectList_VEAIAC_1(VEAStngVO paramVO) throws Exception; // LIST } diff --git a/src/main/java/kcc/ve/adv/tngr/stngInfo/service/VEAStngService.java b/src/main/java/kcc/ve/adv/tngr/stngInfo/service/VEAStngService.java index fdaeeaf0..d43be5f2 100644 --- a/src/main/java/kcc/ve/adv/tngr/stngInfo/service/VEAStngService.java +++ b/src/main/java/kcc/ve/adv/tngr/stngInfo/service/VEAStngService.java @@ -49,4 +49,31 @@ public interface VEAStngService { int delete_VEAALS(VEAStngVO paramVO) throws Exception; // D List selectList_VEAALS(VEAStngVO paramVO) throws Exception; // LIST List selectPagingList_VEAALS(VEAStngVO paramVO) throws Exception; // Page List + + + //VEA_INSTR_ASGNM_CNDTN - 강사배정조건 + void insert_VEAIAC(VEAStngVO paramVO) throws Exception; // C + VEAStngVO selectDetail_VEAIAC(VEAStngVO paramVO) throws Exception; // R + int update_VEAIAC(VEAStngVO paramVO) throws Exception; // U + int delete_VEAIAC(VEAStngVO paramVO) throws Exception; // D + List selectList_VEAIAC(VEAStngVO paramVO) throws Exception; // LIST + List selectPagingList_VEAIAC(VEAStngVO paramVO) throws Exception; // Page List + + + //VEA_INSTR_MNT_TM - 강사월별시수 + void insert_VEAIMT(VEAStngVO paramVO) throws Exception; // C + VEAStngVO selectDetail_VEAIMT(VEAStngVO paramVO) throws Exception; // R + int update_VEAIMT(VEAStngVO paramVO) throws Exception; // U + int delete_VEAIMT(VEAStngVO paramVO) throws Exception; // D + List selectList_VEAIMT(VEAStngVO paramVO) throws Exception; // LIST + List selectPagingList_VEAIMT(VEAStngVO paramVO) throws Exception; // Page List + + + //VEA_INSTR_RSDNC_RATIO - 강사거주지별비율 + void insert_VEAIRR(VEAStngVO paramVO) throws Exception; // C + VEAStngVO selectDetail_VEAIRR(VEAStngVO paramVO) throws Exception; // R + int update_VEAIRR(VEAStngVO paramVO) throws Exception; // U + int delete_VEAIRR(VEAStngVO paramVO) throws Exception; // D + List selectList_VEAIRR(VEAStngVO paramVO) throws Exception; // LIST + List selectPagingList_VEAIRR(VEAStngVO paramVO) throws Exception; // Page List } diff --git a/src/main/java/kcc/ve/adv/tngr/stngInfo/service/VEAStngVO.java b/src/main/java/kcc/ve/adv/tngr/stngInfo/service/VEAStngVO.java index c8901a7b..98a75766 100644 --- a/src/main/java/kcc/ve/adv/tngr/stngInfo/service/VEAStngVO.java +++ b/src/main/java/kcc/ve/adv/tngr/stngInfo/service/VEAStngVO.java @@ -52,6 +52,44 @@ public class VEAStngVO extends ComDefaultVO implements Serializable { private String ttlRgstrChasiRegistPnttm; //총접수차시등록일시 private String ttlRgstrChasiRegisterId; //총정수차시등록자 + //vea_instr_asgnm_cndtn - 강사배정조건 + private String asgnmCd; //배정코드 + private String useYn; //사용여부 + + private String asgnmNm; //코드명 + + //vea_instr_rsdnc_ratio - 강사거주지별비율 + private String ratio5; //5일강사비율 + private String ratio4; //5일강사비율 + private String ratio3; //5일강사비율 + private String ratio2; //5일강사비율 + private String ratio1; //5일강사비율 + + //vea_instr_mnt_tm - 강사월별시수 + private String mnt; //월 + + private String aplctChasi; //해당월 접수차시(교육확정) + + private String instrEa5; //해당월 5일강사수 + private String instrTm5; //해당월 5일강사인당시간 + private String asgnmChasi5; //해당월 5일강사배정총차시 + + private String instrEa4; //해당월 4일강사수 + private String instrTm4; //해당월 4일강사인당시간 + private String asgnmChasi4; //해당월 4일강사배정총차시 + + private String instrEa3; //해당월 3일강사수 + private String instrTm3; //해당월 3일강사인당시간 + private String asgnmChasi3; //해당월 3일강사배정총차시 + + private String instrEa2; //해당월 2일강사수 + private String instrTm2; //해당월 2일강사인당시간 + private String asgnmChasi2; //해당월 2일강사배정총차시 + + private String instrEa1; //해당월 1일강사수 + private String instrTm1; //해당월 1일강사인당시간 + private String asgnmChasi1; //해당월 1일강사배정총차시 + //etc private String code; //설정 년도 @@ -385,5 +423,155 @@ public class VEAStngVO extends ComDefaultVO implements Serializable { public void setSearchWord(String searchWord) { this.searchWord = searchWord; } + public String getAsgnmCd() { + return asgnmCd; + } + public void setAsgnmCd(String asgnmCd) { + this.asgnmCd = asgnmCd; + } + public String getUseYn() { + return useYn; + } + public void setUseYn(String useYn) { + this.useYn = useYn; + } + public String getRatio5() { + return ratio5; + } + public void setRatio5(String ratio5) { + this.ratio5 = ratio5; + } + public String getRatio4() { + return ratio4; + } + public void setRatio4(String ratio4) { + this.ratio4 = ratio4; + } + public String getRatio3() { + return ratio3; + } + public void setRatio3(String ratio3) { + this.ratio3 = ratio3; + } + public String getRatio2() { + return ratio2; + } + public void setRatio2(String ratio2) { + this.ratio2 = ratio2; + } + public String getRatio1() { + return ratio1; + } + public void setRatio1(String ratio1) { + this.ratio1 = ratio1; + } + public String getMnt() { + return mnt; + } + public void setMnt(String mnt) { + this.mnt = mnt; + } + public String getAplctChasi() { + return aplctChasi; + } + public void setAplctChasi(String aplctChasi) { + this.aplctChasi = aplctChasi; + } + public String getInstrEa5() { + return instrEa5; + } + public void setInstrEa5(String instrEa5) { + this.instrEa5 = instrEa5; + } + public String getInstrTm5() { + return instrTm5; + } + public void setInstrTm5(String instrTm5) { + this.instrTm5 = instrTm5; + } + public String getAsgnmChasi5() { + return asgnmChasi5; + } + public void setAsgnmChasi5(String asgnmChasi5) { + this.asgnmChasi5 = asgnmChasi5; + } + public String getInstrEa4() { + return instrEa4; + } + public void setInstrEa4(String instrEa4) { + this.instrEa4 = instrEa4; + } + public String getInstrTm4() { + return instrTm4; + } + public void setInstrTm4(String instrTm4) { + this.instrTm4 = instrTm4; + } + public String getAsgnmChasi4() { + return asgnmChasi4; + } + public void setAsgnmChasi4(String asgnmChasi4) { + this.asgnmChasi4 = asgnmChasi4; + } + public String getInstrEa3() { + return instrEa3; + } + public void setInstrEa3(String instrEa3) { + this.instrEa3 = instrEa3; + } + public String getInstrTm3() { + return instrTm3; + } + public void setInstrTm3(String instrTm3) { + this.instrTm3 = instrTm3; + } + public String getAsgnmChasi3() { + return asgnmChasi3; + } + public void setAsgnmChasi3(String asgnmChasi3) { + this.asgnmChasi3 = asgnmChasi3; + } + public String getInstrEa2() { + return instrEa2; + } + public void setInstrEa2(String instrEa2) { + this.instrEa2 = instrEa2; + } + public String getInstrTm2() { + return instrTm2; + } + public void setInstrTm2(String instrTm2) { + this.instrTm2 = instrTm2; + } + public String getAsgnmChasi2() { + return asgnmChasi2; + } + public void setAsgnmChasi2(String asgnmChasi2) { + this.asgnmChasi2 = asgnmChasi2; + } + public String getInstrEa1() { + return instrEa1; + } + public void setInstrEa1(String instrEa1) { + this.instrEa1 = instrEa1; + } + public String getInstrTm1() { + return instrTm1; + } + public void setInstrTm1(String instrTm1) { + this.instrTm1 = instrTm1; + } + public String getAsgnmChasi1() { + return asgnmChasi1; + } + public void setAsgnmChasi1(String asgnmChasi1) { + this.asgnmChasi1 = asgnmChasi1; + } + public String getAsgnmNm() { + return asgnmNm; + } + public void setAsgnmNm(String asgnmNm) { + this.asgnmNm = asgnmNm; + } } diff --git a/src/main/java/kcc/ve/adv/tngr/stngInfo/service/impl/VEAStngDAO.java b/src/main/java/kcc/ve/adv/tngr/stngInfo/service/impl/VEAStngDAO.java index 20225566..ee5c1286 100644 --- a/src/main/java/kcc/ve/adv/tngr/stngInfo/service/impl/VEAStngDAO.java +++ b/src/main/java/kcc/ve/adv/tngr/stngInfo/service/impl/VEAStngDAO.java @@ -158,4 +158,91 @@ public class VEAStngDAO extends EgovAbstractDAO { List tlist = (List) list("VEAAreaLctrStngDAO.selectPagingList", paramVO); return tlist; } + + + //VEA_INSTR_ASGNM_CNDTN - 강사배정조건 + public void insert_VEAIAC(VEAStngVO paramVO) throws Exception { + insert("VEAInstrAsgnmCndtnDAO.insert", paramVO); + } + + public VEAStngVO selectDetail_VEAIAC(VEAStngVO paramVO) throws Exception { + return (VEAStngVO) select("VEAInstrAsgnmCndtnDAO.selectDetail", paramVO); + } + + public int update_VEAIAC(VEAStngVO paramVO) throws Exception { + return update("VEAInstrAsgnmCndtnDAO.update", paramVO); + } + + public int delete_VEAIAC(VEAStngVO paramVO) throws Exception { + return delete("VEAInstrAsgnmCndtnDAO.delete", paramVO); + } + + //L + public List selectList_VEAIAC(VEAStngVO paramVO) throws Exception { + List tlist = (List) list("VEAInstrAsgnmCndtnDAO.selectList", paramVO); + return tlist; + } + + public List selectPagingList_VEAIAC(VEAStngVO paramVO) throws Exception { + List tlist = (List) list("VEAInstrAsgnmCndtnDAO.selectPagingList", paramVO); + return tlist; + } + + + //VEA_INSTR_MNT_TM - 강사월별시수 + public void insert_VEAIMT(VEAStngVO paramVO) throws Exception { + insert("VEAInstrMntTmDAO.insert", paramVO); + } + + public VEAStngVO selectDetail_VEAIMT(VEAStngVO paramVO) throws Exception { + return (VEAStngVO) select("VEAInstrMntTmDAO.selectDetail", paramVO); + } + + public int update_VEAIMT(VEAStngVO paramVO) throws Exception { + return update("VEAInstrMntTmDAO.update", paramVO); + } + + public int delete_VEAIMT(VEAStngVO paramVO) throws Exception { + return delete("VEAInstrMntTmDAO.delete", paramVO); + } + + //L + public List selectList_VEAIMT(VEAStngVO paramVO) throws Exception { + List tlist = (List) list("VEAInstrMntTmDAO.selectList", paramVO); + return tlist; + } + + public List selectPagingList_VEAIMT(VEAStngVO paramVO) throws Exception { + List tlist = (List) list("VEAInstrMntTmDAO.selectPagingList", paramVO); + return tlist; + } + + + //VEA_INSTR_RSDNC_RATIO - 강사거주지별비율 + public void insert_VEAIRR(VEAStngVO paramVO) throws Exception { + insert("VEAInstrRsdncRatioDAO.insert", paramVO); + } + + public VEAStngVO selectDetail_VEAIRR(VEAStngVO paramVO) throws Exception { + return (VEAStngVO) select("VEAInstrRsdncRatioDAO.selectDetail", paramVO); + } + + public int update_VEAIRR(VEAStngVO paramVO) throws Exception { + return update("VEAInstrRsdncRatioDAO.update", paramVO); + } + + public int delete_VEAIRR(VEAStngVO paramVO) throws Exception { + return delete("VEAInstrRsdncRatioDAO.delete", paramVO); + } + + //L + public List selectList_VEAIRR(VEAStngVO paramVO) throws Exception { + List tlist = (List) list("VEAInstrRsdncRatioDAO.selectList", paramVO); + return tlist; + } + + public List selectPagingList_VEAIRR(VEAStngVO paramVO) throws Exception { + List tlist = (List) list("VEAInstrRsdncRatioDAO.selectPagingList", paramVO); + return tlist; + } } diff --git a/src/main/java/kcc/ve/adv/tngr/stngInfo/service/impl/VEAStngMixDAO.java b/src/main/java/kcc/ve/adv/tngr/stngInfo/service/impl/VEAStngMixDAO.java index 10a27e1b..d5433582 100644 --- a/src/main/java/kcc/ve/adv/tngr/stngInfo/service/impl/VEAStngMixDAO.java +++ b/src/main/java/kcc/ve/adv/tngr/stngInfo/service/impl/VEAStngMixDAO.java @@ -24,7 +24,7 @@ public class VEAStngMixDAO extends EgovAbstractDAO { List tlist = (List) list("VEALctrYrStngMixDAO.selectList_VEALPPS_1", paramVO); return tlist; } - + public List selectList_VEALPPS_2(VEAStngVO paramVO) throws Exception { List tlist = (List) list("VEALctrYrStngMixDAO.selectList_VEALPPS_2", paramVO); return tlist; @@ -66,4 +66,17 @@ public class VEAStngMixDAO extends EgovAbstractDAO { //VEAStngVO tlist = (VEAStngVO) list("VEALctrYrStngMixDAO.selectEduAplctTimeChkList", paramVO); //return tlist; } + + //L + public String selectEduGetStngYrToStr(VEAStngVO paramVO) throws Exception { + return (String) select("VEALctrYrStngMixDAO.selectEduGetStngYrToStr", paramVO); + //return tlist; + } + + //L + public List selectList_VEAIAC_1(VEAStngVO paramVO) throws Exception { + List tlist = (List) list("VEAAsgnmStngMixDAO.selectList_VEAIAC_1", paramVO); + return tlist; + } + } diff --git a/src/main/java/kcc/ve/adv/tngr/stngInfo/service/impl/VEAStngMixServiceImpl.java b/src/main/java/kcc/ve/adv/tngr/stngInfo/service/impl/VEAStngMixServiceImpl.java index a4b1246d..73fd848c 100644 --- a/src/main/java/kcc/ve/adv/tngr/stngInfo/service/impl/VEAStngMixServiceImpl.java +++ b/src/main/java/kcc/ve/adv/tngr/stngInfo/service/impl/VEAStngMixServiceImpl.java @@ -145,7 +145,7 @@ public class VEAStngMixServiceImpl implements VEAStngMixService { return flag; } - + @Override public String eduAplctChkDateToStr(VEAStngVO vEAStngVO, HttpServletRequest request) throws Exception { boolean flag = true; @@ -275,4 +275,19 @@ public class VEAStngMixServiceImpl implements VEAStngMixService { return flag; } + + + @Override + public String selectEduGetStngYrToStr(VEAStngVO vEAStngVO) throws Exception { + boolean flag = true; + String v_ret = ""; + v_ret = vEAStngMixDAO.selectEduGetStngYrToStr(vEAStngVO); + + return v_ret; + } + + + public List selectList_VEAIAC_1(VEAStngVO paramVO) throws Exception{ + return vEAStngMixDAO.selectList_VEAIAC_1(paramVO); + } } diff --git a/src/main/java/kcc/ve/adv/tngr/stngInfo/service/impl/VEAStngServiceImpl.java b/src/main/java/kcc/ve/adv/tngr/stngInfo/service/impl/VEAStngServiceImpl.java index 6b08282e..2fca64ba 100644 --- a/src/main/java/kcc/ve/adv/tngr/stngInfo/service/impl/VEAStngServiceImpl.java +++ b/src/main/java/kcc/ve/adv/tngr/stngInfo/service/impl/VEAStngServiceImpl.java @@ -194,4 +194,102 @@ public class VEAStngServiceImpl implements VEAStngService { return vEAStngDAO.selectPagingList_VEAALS(paramVO); } + + //VEA_INSTR_ASGNM_CNDTN - 강사배정조건 + //C + public void insert_VEAIAC(VEAStngVO paramVO) throws Exception { + vEAStngDAO.insert_VEAIAC(paramVO); + } + + //R + public VEAStngVO selectDetail_VEAIAC(VEAStngVO paramVO) throws Exception { + return vEAStngDAO.selectDetail_VEAIAC(paramVO); + } + + //U + public int update_VEAIAC(VEAStngVO paramVO) throws Exception{ + + return vEAStngDAO.update_VEAIAC(paramVO); + } + + //D + public int delete_VEAIAC(VEAStngVO paramVO) throws Exception{ + return vEAStngDAO.delete_VEAIAC(paramVO); + } + + //List + public List selectList_VEAIAC(VEAStngVO paramVO) throws Exception{ + return vEAStngDAO.selectList_VEAIAC(paramVO); + } + + //paging List + public List selectPagingList_VEAIAC(VEAStngVO paramVO) throws Exception{ + return vEAStngDAO.selectPagingList_VEAIAC(paramVO); + } + + + //VEA_INSTR_MNT_TM - 강사월별시수 + //C + public void insert_VEAIMT(VEAStngVO paramVO) throws Exception { + vEAStngDAO.insert_VEAIMT(paramVO); + } + + //R + public VEAStngVO selectDetail_VEAIMT(VEAStngVO paramVO) throws Exception { + return vEAStngDAO.selectDetail_VEAIMT(paramVO); + } + + //U + public int update_VEAIMT(VEAStngVO paramVO) throws Exception{ + + return vEAStngDAO.update_VEAIMT(paramVO); + } + + //D + public int delete_VEAIMT(VEAStngVO paramVO) throws Exception{ + return vEAStngDAO.delete_VEAIMT(paramVO); + } + + //List + public List selectList_VEAIMT(VEAStngVO paramVO) throws Exception{ + return vEAStngDAO.selectList_VEAIMT(paramVO); + } + + //paging List + public List selectPagingList_VEAIMT(VEAStngVO paramVO) throws Exception{ + return vEAStngDAO.selectPagingList_VEAIMT(paramVO); + } + + + //VEA_INSTR_RSDNC_RATIO - 강사거주지별비율 + //C + public void insert_VEAIRR(VEAStngVO paramVO) throws Exception { + vEAStngDAO.insert_VEAIRR(paramVO); + } + + //R + public VEAStngVO selectDetail_VEAIRR(VEAStngVO paramVO) throws Exception { + return vEAStngDAO.selectDetail_VEAIRR(paramVO); + } + + //U + public int update_VEAIRR(VEAStngVO paramVO) throws Exception{ + + return vEAStngDAO.update_VEAIRR(paramVO); + } + + //D + public int delete_VEAIRR(VEAStngVO paramVO) throws Exception{ + return vEAStngDAO.delete_VEAIRR(paramVO); + } + + //List + public List selectList_VEAIRR(VEAStngVO paramVO) throws Exception{ + return vEAStngDAO.selectList_VEAIRR(paramVO); + } + + //paging List + public List selectPagingList_VEAIRR(VEAStngVO paramVO) throws Exception{ + return vEAStngDAO.selectPagingList_VEAIRR(paramVO); + } } diff --git a/src/main/java/kcc/ve/instr/tngrVisitEdu/eduInfo/service/VEEduAplctVO.java b/src/main/java/kcc/ve/instr/tngrVisitEdu/eduInfo/service/VEEduAplctVO.java index 097116ec..cd20f452 100644 --- a/src/main/java/kcc/ve/instr/tngrVisitEdu/eduInfo/service/VEEduAplctVO.java +++ b/src/main/java/kcc/ve/instr/tngrVisitEdu/eduInfo/service/VEEduAplctVO.java @@ -130,7 +130,9 @@ public class VEEduAplctVO extends ComDefaultVO implements Serializable { private String endEduPrsnl; //교육인원(이수) - private String aplctCn; //신청 내용 + private String aplctCn; //신청 내용 + + private String stngYr; //기준년도 public int getChasi() { @@ -1601,6 +1603,12 @@ public class VEEduAplctVO extends ComDefaultVO implements Serializable { public void setAplctCn(String aplctCn) { this.aplctCn = aplctCn; } + public String getStngYr() { + return stngYr; + } + public void setStngYr(String stngYr) { + this.stngYr = stngYr; + } } diff --git a/src/main/java/kcc/ve/oprtn/tngrVisitEdu/eduAplctMng/web/EduAplctMngTngrController.java b/src/main/java/kcc/ve/oprtn/tngrVisitEdu/eduAplctMng/web/EduAplctMngTngrController.java index 0cf9e09c..d06f79dd 100644 --- a/src/main/java/kcc/ve/oprtn/tngrVisitEdu/eduAplctMng/web/EduAplctMngTngrController.java +++ b/src/main/java/kcc/ve/oprtn/tngrVisitEdu/eduAplctMng/web/EduAplctMngTngrController.java @@ -39,6 +39,7 @@ import kcc.let.uss.ion.cnt.service.EgovCntManageService; import kcc.let.uss.umt.service.EgovMberManageService; import kcc.let.uss.umt.service.UserManageVO; import kcc.let.utl.fcc.service.EgovCryptoUtil; +import kcc.ve.adv.tngr.stngInfo.service.VEAStngMixService; import kcc.ve.cmm.VeConstants; import kcc.ve.instr.tngrVisitEdu.eduInfo.service.VEEduAplctService; import kcc.ve.instr.tngrVisitEdu.eduInfo.service.VEEduAplctVO; @@ -130,6 +131,10 @@ public class EduAplctMngTngrController { /** mberManageService */ @Resource(name = "mberManageService") private EgovMberManageService mberManageService; + + //강의설정 관리(MIX) + @Resource(name = "vEAStngMixService") + private VEAStngMixService vEAStngMixService; /** * 교육신청관리 목록 화면 @@ -139,6 +144,18 @@ public class EduAplctMngTngrController { LoginVO user = EgovUserDetailsHelper.isAuthenticated()? (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser():null; + //기준년도가 없으면 최종 신청년도가 속한 회차의 년도를 기본값으로 가져온다. // 없으면 올해가 기본 + /* + { + if ("".equals(vEEduAplctVO.getStngYr()) || vEEduAplctVO.getStngYr()==null) { + VEAStngVO vEAStngVO = new VEAStngVO(); + String s_stngYr = vEAStngMixService.selectEduGetStngYrToStr(vEAStngVO); + vEEduAplctVO.setStngYr(s_stngYr); + } + } + */ + + //년도 if(StringUtils.isBlank(vEEduAplctVO.getSearchYear())){ //vEEduAplctVO.setSearchYear(String.valueOf(LocalDate.now().getYear())); diff --git a/src/main/java/kcc/ve/oprtn/tngrVisitEdu/eduCnfrmMng/web/EduCnfrmMngTngrController.java b/src/main/java/kcc/ve/oprtn/tngrVisitEdu/eduCnfrmMng/web/EduCnfrmMngTngrController.java index 6dc3abb1..0abbc671 100644 --- a/src/main/java/kcc/ve/oprtn/tngrVisitEdu/eduCnfrmMng/web/EduCnfrmMngTngrController.java +++ b/src/main/java/kcc/ve/oprtn/tngrVisitEdu/eduCnfrmMng/web/EduCnfrmMngTngrController.java @@ -30,6 +30,7 @@ import kcc.com.utl.user.service.CheckLoginUtil; import kcc.kccadr.cmm.CmmUtil; import kcc.let.utl.fcc.service.EgovCryptoUtil; import kcc.let.utl.fcc.service.VEPagingUtil; +import kcc.ve.adv.tngr.stngInfo.service.VEAStngMixService; import kcc.ve.cmm.VeConstants; import kcc.ve.instr.tngrVisitEdu.asgnmInfo.service.VEAcmdtAplctService; import kcc.ve.instr.tngrVisitEdu.asgnmInfo.service.VEAsgnmMIX2023Service; @@ -151,6 +152,10 @@ public class EduCnfrmMngTngrController { @Resource(name = "vEEduInstrDstncService") private VEEduInstrDstncService vEEduInstrDstncService; + //강의설정 관리(MIX) + @Resource(name = "vEAStngMixService") + private VEAStngMixService vEAStngMixService; + /** * 교육확정관리 목록 화면 */ @@ -168,6 +173,19 @@ public class EduCnfrmMngTngrController { //로그인 처리==================================== + + //기준년도가 없으면 최종 신청년도가 속한 회차의 년도를 기본값으로 가져온다. // 없으면 올해가 기본 + /* + { + if ("".equals(vEEduAplctVO.getStngYr()) || vEEduAplctVO.getStngYr()==null) { + VEAStngVO vEAStngVO = new VEAStngVO(); + String s_stngYr = vEAStngMixService.selectEduGetStngYrToStr(vEAStngVO); + vEEduAplctVO.setStngYr(s_stngYr); + } + } + */ + + //1.pageing step1 PaginationInfo paginationInfo = this.setPagingStep1(vEEduAplctVO); diff --git a/src/main/java/kcc/ve/oprtn/tngrVisitEdu/eduCnfrmMng/web/NewEduCnfrmMngTngrController.java b/src/main/java/kcc/ve/oprtn/tngrVisitEdu/eduCnfrmMng/web/NewEduCnfrmMngTngrController.java index 2d6b780b..e501e02e 100644 --- a/src/main/java/kcc/ve/oprtn/tngrVisitEdu/eduCnfrmMng/web/NewEduCnfrmMngTngrController.java +++ b/src/main/java/kcc/ve/oprtn/tngrVisitEdu/eduCnfrmMng/web/NewEduCnfrmMngTngrController.java @@ -12,9 +12,11 @@ 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.ComDefaultVO; +import kcc.com.cmm.LoginVO; import kcc.com.cmm.service.EgovCmmUseService; import kcc.com.cmm.service.EgovFileMngService; import kcc.com.cmm.service.EgovFileMngUtil; @@ -22,6 +24,9 @@ import kcc.com.cmm.util.StringUtil; import kcc.com.utl.user.service.CheckLoginUtil; import kcc.let.utl.fcc.service.EgovCryptoUtil; import kcc.let.utl.fcc.service.VEPagingUtil; +import kcc.ve.adv.tngr.stngInfo.service.VEAStngMixService; +import kcc.ve.adv.tngr.stngInfo.service.VEAStngService; +import kcc.ve.adv.tngr.stngInfo.service.VEAStngVO; import kcc.ve.instr.tngrVisitEdu.asgnmInfo.service.VEAcmdtAplctService; import kcc.ve.instr.tngrVisitEdu.asgnmInfo.service.VEAsgnmMIX2023Service; import kcc.ve.instr.tngrVisitEdu.asgnmInfo.service.VEAsgnmMIXService; @@ -139,6 +144,17 @@ public class NewEduCnfrmMngTngrController { // 교육강사거리 @Resource(name = "vEEduInstrDstncService") private VEEduInstrDstncService vEEduInstrDstncService; + + // 신규테이블 기본 VEA_ + @Resource(name = "vEAStngService") + private VEAStngService vEAStngService; + + // 신규테이블 응용 VEA_ + @Resource(name = "vEAStngMixService") + private VEAStngMixService vEAStngMixService; + + + /** * 특정 강사배치 팝업 @@ -271,109 +287,110 @@ public class NewEduCnfrmMngTngrController { ) throws Exception { //로그인 처리==================================== - //로그인 정보 가져오기 + //로그인 정보 가져오기 + String s_oprtnLoginCheckNInfo = checkLoginUtil.oprtnCheckNInfo(model); + if (!"".equals(s_oprtnLoginCheckNInfo)) return s_oprtnLoginCheckNInfo; - //String s_userCheckNInfo = checkLoginUtil.userCheckNInfo(model, request); - //if (!"".equals(s_userCheckNInfo)) return s_userCheckNInfo; + //로그인 처리==================================== - //로그인 처리==================================== //0.pageing step0 //온라인 오프라인 여부 확인 //배치대상신청정보 //vEEduAplctVO = vEEduAplctService.selectDetail(vEEduAplctVO); //System.out.println(vEEduAplctVO.getEduSlctCd()); //10-온라인, 20-오프라인 - //1.pageing step1 - PaginationInfo paginationInfo = this.setPagingStep1(vEInstrDetailVO); - - - //2. pageing step2 - vEInstrDetailVO = this.setPagingStep2(vEInstrDetailVO, paginationInfo); - - //3. SelectPagingListQuery set 할 조건 설정 - String selectCondition = new String(); - //3.1 제출 완료 후 사용중인 데이터 조회 - selectCondition += "AND a0.sbmt_yn='Y' AND a0.use_yn = 'Y'"; - //3.2 강사 테이블 성인강사여부 Y인것만 조회 - //selectCondition += "AND (b0.tngr_instr_yn ='Y' OR a0.qlfct_end_yn = 'Y') "; - //3.3 이름 검색 시 - if(StringUtil.isNotEmpty(vEInstrDetailVO.getSearchKeyword())){ - //이름 암호화 - comDefaultVO 검색단어 공통 암호화 - ComDefaultVO comDefaultVO = new ComDefaultVO(); - comDefaultVO.setSearchKeyword(vEInstrDetailVO.getSearchKeyword()); - comDefaultVO = egovCryptoUtil.encryptComDefaultVO(comDefaultVO); - vEInstrDetailVO.setSearchKeyword(comDefaultVO.getSearchKeyword()); - //selectCondition += "AND a.instr_nm LIKE CONCAT ('%', '" +vEInstrDetailVO.getSearchKeyword() + "', '%')"; - selectCondition += "AND a0.instr_nm LIKE '%'||'" +vEInstrDetailVO.getSearchKeyword() + "'||'%'"; - comDefaultVO = egovCryptoUtil.decryptComDefaultVO(comDefaultVO); - vEInstrDetailVO.setSearchKeyword(comDefaultVO.getSearchKeyword()); - } - //3.4 요청일 시작일 검색 시 - /*if(StringUtil.isNotEmpty(vEInstrDetailVO.getSearchStartDt())){ - selectCondition += "AND TO_CHAR(a.sbmt_pnttm, 'YYYYMMDD') >= REPLACE('"+vEInstrDetailVO.getSearchStartDt()+"', '.', '')"; - } - //3.5 요청일 종료일 검색 시 - if(StringUtil.isNotEmpty(vEInstrDetailVO.getSearchEndDt())){ - selectCondition += "AND TO_CHAR(a.sbmt_pnttm, 'YYYYMMDD') <= REPLACE('"+vEInstrDetailVO.getSearchEndDt()+"', '.', '')"; - }*/ - - //정보변경 요청사항 있는 강사부터 조회 - vEInstrDetailVO.setOrderByQuery(" rqstCnt DESC "); - - vEInstrDetailVO.setInstrDiv("10"); - vEInstrDetailVO.setSelectPagingListQuery(selectCondition); - - List vEInstrDetailVOList = vEInstrMixService.selectPagingDetailList(vEInstrDetailVO); - - vEInstrDetailVOList = egovCryptoUtil.decryptVEInstrDetailVOList(vEInstrDetailVOList); - - //4.pageing step3 - paginationInfo = this.setPagingStep3(vEInstrDetailVOList, paginationInfo); - model.addAttribute("paginationInfo", paginationInfo); - + //a + VEAStngVO vEAStngVO = new VEAStngVO(); + vEAStngVO.setCode("VEA007"); + vEAStngVO.setUseYn("Y"); + + List asgnmStngVOList = vEAStngMixService.selectList_VEAIAC_1(vEAStngVO); + //대상 리스트, 페이징 정보 전달 - model.addAttribute("resultList", vEInstrDetailVOList); + model.addAttribute("asgnmStngVOList", asgnmStngVOList); - - //배치 목록 - //1.pageing step1 - PaginationInfo paginationInfo1 = this.setPagingStep_1(vEEduAplctVO); - - //2. pageing step2 - vEEduAplctVO = this.setPagingStep_2(vEEduAplctVO, paginationInfo1); - vEEduAplctVO.setInstrDiv("10"); //청소년 - vEEduAplctVO.setLctrDivCd("10"); //청소년강의 - vEEduAplctVO.setAprvlCd("60"); //확정코드 - - if(!"".equals(vEEduAplctVO.getSearchInstrNm())) { - vEEduAplctVO.setSearchInstrNm(egovCryptoUtil.encrypt(vEEduAplctVO.getSearchInstrNm())); - } - - vEEduAplctVO.setAprvlCd("60"); //확정코드 - - List vEEduAplctVOList = vEEduMIXService.selectTngrRsltPagingList(vEEduAplctVO); - VEEduAplctVO vo = new VEEduAplctVO(); - for(int i=0; i < vEEduAplctVOList.size(); i++) { - vo = egovCryptoUtil.decryptVEEduAplctVOInfo(vEEduAplctVOList.get(i)); - vEEduAplctVOList.get(i).setUserId(vo.getUserId()); - vEEduAplctVOList.get(i).setChrgNm(vo.getChrgNm()); - } - - //3.pageing step3 - paginationInfo1 = this.setPagingStep_3(vEEduAplctVOList, paginationInfo1); - - model.addAttribute("paginationInfo1", paginationInfo1); - model.addAttribute("cryptoUtil", egovCryptoUtil); - - //대상 리스트, 페이징 정보 전달 - model.addAttribute("list", vEEduAplctVOList); - - - return "oprtn/tngrVisitEdu/popup/instrAsgnmCndtnMngPopup"; } + /** + * 강사 배정 조건 관리 팝업 + * fncSpcfcInstrAsgnmInfo + */ + + @RequestMapping("popup/instrAsgnmCndtnMngPopupAjax.do") + public ModelAndView instrAsgnmCndtnMngPopupAjax(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", "fail"); + return modelAndView; + } + + //로그인 처리==================================== + + System.out.println("request.getParameter(10)"); + System.out.println(request.getParameter("10")); + System.out.println(request.getParameter("20")); + System.out.println(request.getParameter("30")); + + //기존에 강사 배정이 안된 차시에 대해서만 자동 배정 조건에 따라서 강사 배정을 한다. + + + //step0.소속 차시 정보 가져오기 + //step1.온오프라인 여부 확인 + //step2.대상 리스트 가져오기 + //step3.없으면 저장하고, 있으면 skip + + LoginVO loginVO = checkLoginUtil.getAuthLoginVO(); //권한에 따른 로그인 정보 가져오기 + + VEAStngVO vEAStngVO = new VEAStngVO(); + vEAStngVO.setFrstRegisterId(loginVO.getUniqId()); + + //code-10 + vEAStngVO.setAsgnmCd("10"); + vEAStngVO.setUseYn(request.getParameter("10")); + int i_ret = vEAStngService.update_VEAIAC(vEAStngVO); + + if (i_ret<=0) { + modelAndView.addObject("result", "fail"); + return modelAndView; + } + + + //code-20 + vEAStngVO.setAsgnmCd("20"); + vEAStngVO.setUseYn(request.getParameter("20")); + i_ret = vEAStngService.update_VEAIAC(vEAStngVO); + + if (i_ret<=0) { + modelAndView.addObject("result", "fail"); + return modelAndView; + } + + + //code-30 + vEAStngVO.setAsgnmCd("30"); + vEAStngVO.setUseYn(request.getParameter("30")); + i_ret = vEAStngService.update_VEAIAC(vEAStngVO); + + if (i_ret<=0) { + modelAndView.addObject("result", "fail"); + return modelAndView; + } + //modelAndView.addObject("rsCnt", rs); + modelAndView.addObject("result", "success"); + + return modelAndView; + } + /** * 강사 월별 시수계산 관리 팝업 * fncSpcfcInstrAsgnmInfo diff --git a/src/main/resources/egovframework/sqlmap/config/tibero/sql-map-config-tibero-ve.xml b/src/main/resources/egovframework/sqlmap/config/tibero/sql-map-config-tibero-ve.xml index 1accc9e7..d2d3bbf6 100644 --- a/src/main/resources/egovframework/sqlmap/config/tibero/sql-map-config-tibero-ve.xml +++ b/src/main/resources/egovframework/sqlmap/config/tibero/sql-map-config-tibero-ve.xml @@ -122,4 +122,11 @@ + + + + + + + \ No newline at end of file diff --git a/src/main/resources/egovframework/sqlmap/ve/tngr/VEAAsgnmStngMix_SQL_Tibero.xml b/src/main/resources/egovframework/sqlmap/ve/tngr/VEAAsgnmStngMix_SQL_Tibero.xml new file mode 100644 index 00000000..e44693d0 --- /dev/null +++ b/src/main/resources/egovframework/sqlmap/ve/tngr/VEAAsgnmStngMix_SQL_Tibero.xml @@ -0,0 +1,23 @@ + + + + + + + + + diff --git a/src/main/resources/egovframework/sqlmap/ve/tngr/VEAInstrAsgnmCndtn_SQL_Tibero.xml b/src/main/resources/egovframework/sqlmap/ve/tngr/VEAInstrAsgnmCndtn_SQL_Tibero.xml new file mode 100644 index 00000000..2884820f --- /dev/null +++ b/src/main/resources/egovframework/sqlmap/ve/tngr/VEAInstrAsgnmCndtn_SQL_Tibero.xml @@ -0,0 +1,209 @@ + + + + + + + + + + vea_instr_asgnm_cndtn + + + + + asgnm_cd, + + use_yn, + + frst_regist_pnttm, + frst_register_id, + last_updt_pnttm, + last_updusr_id + + + + + + + a.asgnm_cd AS asgnmCd, + a.use_yn AS useYn, + + + TO_CHAR(a.frst_regist_pnttm,'YYYY-MM-DD') AS frstRegistPnttm, + a.frst_register_id AS frstRegisterId, + TO_CHAR(a.last_updt_pnttm,'YYYY-MM-DD') AS lastUpdtPnttm, + a.last_updusr_id AS lastUpdusrId + + + + + + /* VEAInstrAsgnmCndtnDAO.insert */ + MERGE INTO + USING DUAL + ON(asgnm_cd=#asgnmCd#) + + WHEN NOT MATCHED THEN + INSERT + ( + + ) + VALUES( + #asgnmCd#, + + #useYn#, + + SYSDATE, + #frstRegisterId#, + NULL, + NULL + ) + WHEN MATCHED THEN + UPDATE + SET use_yn = #useYn# + + , last_updusr_id = #frstRegisterId# + , last_updt_pnttm = SYSDATE + + + + + + + + /* VEAInstrAsgnmCndtnDAO.update */ + MERGE INTO + USING DUAL + ON(asgnm_cd=#asgnmCd#) + + WHEN NOT MATCHED THEN + INSERT + ( + + ) + VALUES( + #asgnmCd#, + + #useYn#, + + SYSDATE, + #frstRegisterId#, + NULL, + NULL + ) + WHEN MATCHED THEN + UPDATE + SET use_yn = #useYn# + + , last_updusr_id = #frstRegisterId# + , last_updt_pnttm = SYSDATE + + + + + + + + DELETE FROM + a + WHERE + a.asgnm_cd = #asgnmCd# + + + + + + + + + + diff --git a/src/main/resources/egovframework/sqlmap/ve/tngr/VEAInstrMntTm_SQL_Tibero.xml b/src/main/resources/egovframework/sqlmap/ve/tngr/VEAInstrMntTm_SQL_Tibero.xml new file mode 100644 index 00000000..f6439e31 --- /dev/null +++ b/src/main/resources/egovframework/sqlmap/ve/tngr/VEAInstrMntTm_SQL_Tibero.xml @@ -0,0 +1,404 @@ + + + + + + + + + + vea_instr_mnt_tm + + + + + yr, + mnt, + + aplct_chasi, + + instr_ea_5, + instr_tm_5, + asgnm_chasi_5, + + instr_ea_4, + instr_tm_4, + asgnm_chasi_4, + + instr_ea_3, + instr_tm_3, + asgnm_chasi_3, + + instr_ea_2, + instr_tm_2, + asgnm_chasi_2, + + instr_ea_1, + instr_tm_1, + asgnm_chasi_1, + + frst_regist_pnttm, + frst_register_id, + last_updt_pnttm, + last_updusr_id + + + + + + + a.yr AS yr, + a.mnt AS mnt, + + aplct_chasi AS aplctChasi, + + instr_ea_5 AS instrEa5, + instr_tm_5 AS instrTm5, + asgnm_chasi_5 AS asgnmChasi5, + + instr_ea_4 AS instrEa4, + instr_tm_4 AS instrTm4, + asgnm_chasi_4 AS asgnmChasi4, + + instr_ea_3 AS instrEa3, + instr_tm_3 AS instrTm3, + asgnm_chasi_3 AS asgnmChasi3, + + instr_ea_2 AS instrEa2, + instr_tm_2 AS instrTm2, + asgnm_chasi_2 AS asgnmChasi2, + + instr_ea_1 AS instrEa1, + instr_tm_1 AS instrTm1, + asgnm_chasi_1 AS asgnmChasi1, + + TO_CHAR(a.frst_regist_pnttm,'YYYY-MM-DD') AS frstRegistPnttm, + a.frst_register_id AS frstRegisterId, + TO_CHAR(a.last_updt_pnttm,'YYYY-MM-DD') AS lastUpdtPnttm, + a.last_updusr_id AS lastUpdusrId + + + + + + /* VEAInstrMntTmDAO.insert */ + MERGE INTO + USING DUAL + ON(yr=#yr# AND mnt=#mnt#) + + WHEN NOT MATCHED THEN + INSERT + ( + + ) + VALUES( + #yr#, + #mnt#, + + #aplctChasi#, + + #instrEa5#, + #instrTm5#, + #asgnmChasi5#, + + #instrEa4#, + #instrTm4#, + #asgnmChasi4#, + + #instrEa3#, + #instrTm3#, + #asgnmChasi3#, + + #instrEa2#, + #instrTm2#, + #asgnmChasi2#, + + #instrEa1#, + #instrTm1#, + #asgnmChasi1#, + + SYSDATE, + #frstRegisterId#, + NULL, + NULL + ) + WHEN MATCHED THEN + UPDATE + SET last_updusr_id = #frstRegisterId# + , last_updt_pnttm = SYSDATE + + + AND aplct_chasi=#aplctChasi# + + + AND instr_ea_5=#instrEa5# + + + AND instr_tm_5=#instrTm5# + + + AND asgnm_chasi_5=#asgnmChasi5# + + + + AND instr_ea_4=#instrEa4# + + + AND instr_tm_4=#instrTm4# + + + AND asgnm_chasi_4=#asgnmChasi4# + + + + AND instr_ea_3=#instrEa3# + + + AND instr_tm_3=#instrTm3# + + + AND asgnm_chasi_3=#asgnmChasi3# + + + + AND instr_ea_2=#instrEa2# + + + AND instr_tm_2=#instrTm2# + + + AND asgnm_chasi_2=#asgnmChasi2# + + + + AND instr_ea_1=#instrEa1# + + + AND instr_tm_1=#instrTm1# + + + AND asgnm_chasi_1=#asgnmChasi1# + + + + + + + + + + + + /* VEAInstrMntTmDAO.update */ + MERGE INTO + USING DUAL + ON(yr=#yr# AND mnt=#mnt#) + + WHEN NOT MATCHED THEN + INSERT + ( + + ) + VALUES( + #yr#, + #mnt#, + + #aplctChasi#, + + #instrEa5#, + #instrTm5#, + #asgnmChasi5#, + + #instrEa4#, + #instrTm4#, + #asgnmChasi4#, + + #instrEa3#, + #instrTm3#, + #asgnmChasi3#, + + #instrEa2#, + #instrTm2#, + #asgnmChasi2#, + + #instrEa1#, + #instrTm1#, + #asgnmChasi1#, + + SYSDATE, + #frstRegisterId#, + NULL, + NULL + ) + WHEN MATCHED THEN + UPDATE + SET last_updusr_id = #frstRegisterId# + , last_updt_pnttm = SYSDATE + + + AND aplct_chasi=#aplctChasi# + + + AND instr_ea_5=#instrEa5# + + + AND instr_tm_5=#instrTm5# + + + AND asgnm_chasi_5=#asgnmChasi5# + + + + AND instr_ea_4=#instrEa4# + + + AND instr_tm_4=#instrTm4# + + + AND asgnm_chasi_4=#asgnmChasi4# + + + + AND instr_ea_3=#instrEa3# + + + AND instr_tm_3=#instrTm3# + + + AND asgnm_chasi_3=#asgnmChasi3# + + + + AND instr_ea_2=#instrEa2# + + + AND instr_tm_2=#instrTm2# + + + AND asgnm_chasi_2=#asgnmChasi2# + + + + AND instr_ea_1=#instrEa1# + + + AND instr_tm_1=#instrTm1# + + + AND asgnm_chasi_1=#asgnmChasi1# + + + + + + + + + + + + DELETE FROM + a + WHERE + a.yr = #yr# + AND a.mnt = #mnt# + + + + + + + + + + diff --git a/src/main/resources/egovframework/sqlmap/ve/tngr/VEAInstrRsdncRatio_SQL_Tibero.xml b/src/main/resources/egovframework/sqlmap/ve/tngr/VEAInstrRsdncRatio_SQL_Tibero.xml new file mode 100644 index 00000000..dc6440f1 --- /dev/null +++ b/src/main/resources/egovframework/sqlmap/ve/tngr/VEAInstrRsdncRatio_SQL_Tibero.xml @@ -0,0 +1,252 @@ + + + + + + + + + + vea_instr_rsdnc_ratio + + + + + area_cd, + + ratio_5, + ratio_4, + ratio_3, + ratio_2, + ratio_1, + + frst_regist_pnttm, + frst_register_id, + last_updt_pnttm, + last_updusr_id + + + + + + + a.area_cd AS areaCd, + + ratio_5 AS ratio5, + ratio_4 AS ratio4, + ratio_3 AS ratio3, + ratio_2 AS ratio2, + ratio_1 AS ratio1, + + TO_CHAR(a.frst_regist_pnttm,'YYYY-MM-DD') AS frstRegistPnttm, + a.frst_register_id AS frstRegisterId, + TO_CHAR(a.last_updt_pnttm,'YYYY-MM-DD') AS lastUpdtPnttm, + a.last_updusr_id AS lastUpdusrId + + + + + + /* VEAInstrRsdncRatioDAO.insert */ + MERGE INTO + USING DUAL + ON(area_cd=#areaCd#) + + WHEN NOT MATCHED THEN + INSERT + ( + + ) + VALUES( + #areaCd#, + + #ratio5#, + #ratio4#, + #ratio3#, + #ratio2#, + #ratio1#, + + SYSDATE, + #frstRegisterId#, + NULL, + NULL + ) + WHEN MATCHED THEN + UPDATE + SET last_updusr_id = #frstRegisterId# + , last_updt_pnttm = SYSDATE + + + AND ratio_5=#ratio5# + + + AND ratio_4=#ratio4# + + + AND ratio_3=#ratio3# + + + AND ratio_2=#ratio2# + + + AND ratio_1=#ratio1# + + + + + + + + + + + + /* VEAInstrRsdncRatioDAO.update */ + MERGE INTO + USING DUAL + ON(area_cd=#areaCd#) + + WHEN NOT MATCHED THEN + INSERT + ( + + ) + VALUES( + #areaCd#, + + #ratio5#, + #ratio4#, + #ratio3#, + #ratio2#, + #ratio1#, + + SYSDATE, + #frstRegisterId#, + NULL, + NULL + ) + WHEN MATCHED THEN + UPDATE + SET last_updusr_id = #frstRegisterId# + , last_updt_pnttm = SYSDATE + + + AND ratio_5=#ratio5# + + + AND ratio_4=#ratio4# + + + AND ratio_3=#ratio3# + + + AND ratio_2=#ratio2# + + + AND ratio_1=#ratio1# + + + + + + + + + + + + DELETE FROM + a + WHERE + a.area_cd=#areaCd# + + + + + + + + + + diff --git a/src/main/resources/egovframework/sqlmap/ve/tngr/VEALctrYrStngMix_SQL_Tibero.xml b/src/main/resources/egovframework/sqlmap/ve/tngr/VEALctrYrStngMix_SQL_Tibero.xml index 504b0eaa..edde70f2 100644 --- a/src/main/resources/egovframework/sqlmap/ve/tngr/VEALctrYrStngMix_SQL_Tibero.xml +++ b/src/main/resources/egovframework/sqlmap/ve/tngr/VEALctrYrStngMix_SQL_Tibero.xml @@ -484,4 +484,23 @@ + + diff --git a/src/main/webapp/WEB-INF/jsp/oprtn/tngrVisitEdu/eduAplctMngList.jsp b/src/main/webapp/WEB-INF/jsp/oprtn/tngrVisitEdu/eduAplctMngList.jsp index 7e6d5de5..08202155 100644 --- a/src/main/webapp/WEB-INF/jsp/oprtn/tngrVisitEdu/eduAplctMngList.jsp +++ b/src/main/webapp/WEB-INF/jsp/oprtn/tngrVisitEdu/eduAplctMngList.jsp @@ -88,6 +88,8 @@ $(this).val(new Date().getMonth()+1); }else if($(this).attr('name').indexOf('Year') != -1){ $(this).val(new Date().getFullYear()); + }else if($(this).attr('name').indexOf('stngYr') != -1){ + $(this).val('${vEEduAplctVO.stngYr}'); }else{ $(this).prop("selectedIndex", 0); } @@ -277,6 +279,20 @@
+

구분

diff --git a/src/main/webapp/WEB-INF/jsp/oprtn/tngrVisitEdu/eduCnfrmMngList.jsp b/src/main/webapp/WEB-INF/jsp/oprtn/tngrVisitEdu/eduCnfrmMngList.jsp index 88eca96f..e8864034 100644 --- a/src/main/webapp/WEB-INF/jsp/oprtn/tngrVisitEdu/eduCnfrmMngList.jsp +++ b/src/main/webapp/WEB-INF/jsp/oprtn/tngrVisitEdu/eduCnfrmMngList.jsp @@ -772,7 +772,23 @@
+ + +
+

확정여부

@@ -794,7 +810,7 @@
- + diff --git a/src/main/webapp/WEB-INF/jsp/oprtn/tngrVisitEdu/popup/instrAsgnmCndtnMngPopup.jsp b/src/main/webapp/WEB-INF/jsp/oprtn/tngrVisitEdu/popup/instrAsgnmCndtnMngPopup.jsp index bd070ef0..f166440c 100644 --- a/src/main/webapp/WEB-INF/jsp/oprtn/tngrVisitEdu/popup/instrAsgnmCndtnMngPopup.jsp +++ b/src/main/webapp/WEB-INF/jsp/oprtn/tngrVisitEdu/popup/instrAsgnmCndtnMngPopup.jsp @@ -74,21 +74,13 @@ */ } - function fncInstrAsgnm(id, p_rank) { - $("#userId").val(id); - - if (p_rank=='-'){ - $("#rmrks").val(p_rank); - }else{ - $("#rmrks").val("배정기준"+p_rank+"순위"); - } - - + function fncInstrAsgnm() { + var data1 = new FormData(document.getElementById("createForm")); $.ajax({ type:"POST", - url:"${pageContext.request.contextPath}/kccadr/oprtn/tngrVisitEdu/popup/instrAsgnmAjax.do", + url:"${pageContext.request.contextPath}/kccadr/oprtn/tngrVisitEdu/popup/instrAsgnmCndtnMngPopupAjax.do", data: data1, dataType:'json', async: false, @@ -98,8 +90,8 @@ success:function(returnData){ if(returnData.result == 'success'){ alert("저장 되었습니다."); - opener.location.reload(); - fncPopClose(); + location.reload(); + //fncPopClose(); } }, error:function(request , status, error){ @@ -163,15 +155,6 @@ - - - - " /> - " /> - " /> - " /> - " /> -
@@ -195,43 +178,27 @@ - + + + -

거주지 우선

+

${row.asgnmNm}

- - - - + + + + - - -

연강 기준

- - - - - - +
- - - - -

패널티 기준

- - - - - - - - + + +
@@ -241,7 +208,7 @@
- +