2023-11-07 14:22 관리자 화면 수정
This commit is contained in:
parent
89f8731010
commit
ef59a0609e
@ -58,4 +58,7 @@ public interface VEAStngMixService {
|
||||
|
||||
//VEA_INSTR_MNT_TM - 강사월별시수
|
||||
int selectList_VEAIMT_2(VEAStngVO paramVO) throws Exception; // LIST
|
||||
|
||||
//VEA_INSTR_INDVD_MNT_TM - 강사별월별시수
|
||||
List<VEAStngVO> selectList_VEAIIMT_1(VEAStngVO paramVO) throws Exception; // LIST
|
||||
}
|
||||
|
||||
@ -68,6 +68,17 @@ public interface VEAStngService {
|
||||
List<VEAStngVO> selectList_VEAIMT(VEAStngVO paramVO) throws Exception; // LIST
|
||||
List<VEAStngVO> selectPagingList_VEAIMT(VEAStngVO paramVO) throws Exception; // Page List
|
||||
|
||||
|
||||
//VEA_INSTR_INDVD_MNT_TM - 강사별월별시수
|
||||
void insert_VEAIIMT(VEAStngVO paramVO) throws Exception; // C
|
||||
VEAStngVO selectDetail_VEAIIMT(VEAStngVO paramVO) throws Exception; // R
|
||||
int update_VEAIIMT(VEAStngVO paramVO) throws Exception; // U
|
||||
int delete_VEAIIMT(VEAStngVO paramVO) throws Exception; // D
|
||||
List<VEAStngVO> selectList_VEAIIMT(VEAStngVO paramVO) throws Exception; // LIST
|
||||
List<VEAStngVO> selectPagingList_VEAIIMT(VEAStngVO paramVO) throws Exception; // Page List
|
||||
|
||||
int delete_VEAIIMT_query(VEAStngVO paramVO) throws Exception; // D-with query
|
||||
|
||||
|
||||
//VEA_INSTR_RSDNC_RATIO - 강사거주지별비율
|
||||
void insert_VEAIRR(VEAStngVO paramVO) throws Exception; // C
|
||||
@ -85,4 +96,13 @@ public interface VEAStngService {
|
||||
int delete_VEABIS(VEAStngVO paramVO) throws Exception; // D
|
||||
List<VEAStngVO> selectList_VEABIS(VEAStngVO paramVO) throws Exception; // LIST
|
||||
List<VEAStngVO> selectPagingList_VEABIS(VEAStngVO paramVO) throws Exception; // Page List
|
||||
|
||||
|
||||
//VEA_INSTR_HSTRY_MNG - 강사이력관리
|
||||
void insert_VEAIHM(VEAStngVO paramVO) throws Exception; // C
|
||||
VEAStngVO selectDetail_VEAIHM(VEAStngVO paramVO) throws Exception; // R
|
||||
int update_VEAIHM(VEAStngVO paramVO) throws Exception; // U
|
||||
int delete_VEAIHM(VEAStngVO paramVO) throws Exception; // D
|
||||
List<VEAStngVO> selectList_VEAIHM(VEAStngVO paramVO) throws Exception; // LIST
|
||||
List<VEAStngVO> selectPagingList_VEAIHM(VEAStngVO paramVO) throws Exception; // Page List
|
||||
}
|
||||
|
||||
@ -98,6 +98,76 @@ public class VEAStngVO extends ComDefaultVO implements Serializable {
|
||||
private String stngCd; //설정코드
|
||||
private String cn; //내용
|
||||
|
||||
//vea_instr_indvd_mnt_tm - 강사별월별시수
|
||||
private String userId; //강사 아이디
|
||||
|
||||
private String m01Ea; //1월 설정한 강의일수
|
||||
private String m01Tm; //1월 계산된 최대 차시수
|
||||
private String m01RegisterId; //1월 등록자
|
||||
private String m01RegsitPnttm; //1월 등록일시
|
||||
|
||||
private String m02Ea; //1월 설정한 강의일수
|
||||
private String m02Tm; //1월 계산된 최대 차시수
|
||||
private String m02RegisterId; //1월 등록자
|
||||
private String m02RegsitPnttm; //1월 등록일시
|
||||
|
||||
private String m03Ea; //1월 설정한 강의일수
|
||||
private String m03Tm; //1월 계산된 최대 차시수
|
||||
private String m03RegisterId; //1월 등록자
|
||||
private String m03RegsitPnttm; //1월 등록일시
|
||||
|
||||
private String m04Ea; //1월 설정한 강의일수
|
||||
private String m04Tm; //1월 계산된 최대 차시수
|
||||
private String m04RegisterId; //1월 등록자
|
||||
private String m04RegsitPnttm; //1월 등록일시
|
||||
|
||||
private String m05Ea; //1월 설정한 강의일수
|
||||
private String m05Tm; //1월 계산된 최대 차시수
|
||||
private String m05RegisterId; //1월 등록자
|
||||
private String m05RegsitPnttm; //1월 등록일시
|
||||
|
||||
private String m06Ea; //1월 설정한 강의일수
|
||||
private String m06Tm; //1월 계산된 최대 차시수
|
||||
private String m06RegisterId; //1월 등록자
|
||||
private String m06RegsitPnttm; //1월 등록일시
|
||||
|
||||
private String m07Ea; //1월 설정한 강의일수
|
||||
private String m07Tm; //1월 계산된 최대 차시수
|
||||
private String m07RegisterId; //1월 등록자
|
||||
private String m07RegsitPnttm; //1월 등록일시
|
||||
|
||||
private String m08Ea; //1월 설정한 강의일수
|
||||
private String m08Tm; //1월 계산된 최대 차시수
|
||||
private String m08RegisterId; //1월 등록자
|
||||
private String m08RegsitPnttm; //1월 등록일시
|
||||
|
||||
private String m09Ea; //1월 설정한 강의일수
|
||||
private String m09Tm; //1월 계산된 최대 차시수
|
||||
private String m09RegisterId; //1월 등록자
|
||||
private String m09RegsitPnttm; //1월 등록일시
|
||||
|
||||
private String m10Ea; //1월 설정한 강의일수
|
||||
private String m10Tm; //1월 계산된 최대 차시수
|
||||
private String m10RegisterId; //1월 등록자
|
||||
private String m10RegsitPnttm; //1월 등록일시
|
||||
|
||||
private String m11Ea; //1월 설정한 강의일수
|
||||
private String m11Tm; //1월 계산된 최대 차시수
|
||||
private String m11RegisterId; //1월 등록자
|
||||
private String m11RegsitPnttm; //1월 등록일시
|
||||
|
||||
private String m12Ea; //1월 설정한 강의일수
|
||||
private String m12Tm; //1월 계산된 최대 차시수
|
||||
private String m12RegisterId; //1월 등록자
|
||||
private String m12RegsitPnttm; //1월 등록일시
|
||||
|
||||
//vea_instr_hstry_mng - 강사이력관리
|
||||
private String instrHstryOrd; //강사이력순번
|
||||
private String sbjct; //주제
|
||||
private String strtDt; //시작일
|
||||
private String ddlnDt; //종료일
|
||||
|
||||
|
||||
//etc
|
||||
private String code; //설정 년도
|
||||
private String psblTmQnttyCnt; //실제 신청 차시(관리자 달력용)
|
||||
@ -112,7 +182,9 @@ public class VEAStngVO extends ComDefaultVO implements Serializable {
|
||||
|
||||
private String rgstrDateState; //일자기준접수상태 0,1,2 -기간전, 기간중, 기간후
|
||||
|
||||
private String searchWord; //검색어
|
||||
private String searchWord; //검색어
|
||||
|
||||
private String workWeekCnt; //주 수업 가능일수
|
||||
|
||||
//4 update
|
||||
private String tableNm;
|
||||
@ -633,5 +705,331 @@ public class VEAStngVO extends ComDefaultVO implements Serializable {
|
||||
public void setTitleB(String titleB) {
|
||||
this.titleB = titleB;
|
||||
}
|
||||
public String getUserId() {
|
||||
return userId;
|
||||
}
|
||||
public void setUserId(String userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
public String getM01Ea() {
|
||||
return m01Ea;
|
||||
}
|
||||
public void setM01Ea(String m01Ea) {
|
||||
this.m01Ea = m01Ea;
|
||||
}
|
||||
public String getM01Tm() {
|
||||
return m01Tm;
|
||||
}
|
||||
public void setM01Tm(String m01Tm) {
|
||||
this.m01Tm = m01Tm;
|
||||
}
|
||||
public String getM01RegisterId() {
|
||||
return m01RegisterId;
|
||||
}
|
||||
public void setM01RegisterId(String m01RegisterId) {
|
||||
this.m01RegisterId = m01RegisterId;
|
||||
}
|
||||
public String getM01RegsitPnttm() {
|
||||
return m01RegsitPnttm;
|
||||
}
|
||||
public void setM01RegsitPnttm(String m01RegsitPnttm) {
|
||||
this.m01RegsitPnttm = m01RegsitPnttm;
|
||||
}
|
||||
public String getM02Ea() {
|
||||
return m02Ea;
|
||||
}
|
||||
public void setM02Ea(String m02Ea) {
|
||||
this.m02Ea = m02Ea;
|
||||
}
|
||||
public String getM02Tm() {
|
||||
return m02Tm;
|
||||
}
|
||||
public void setM02Tm(String m02Tm) {
|
||||
this.m02Tm = m02Tm;
|
||||
}
|
||||
public String getM02RegisterId() {
|
||||
return m02RegisterId;
|
||||
}
|
||||
public void setM02RegisterId(String m02RegisterId) {
|
||||
this.m02RegisterId = m02RegisterId;
|
||||
}
|
||||
public String getM02RegsitPnttm() {
|
||||
return m02RegsitPnttm;
|
||||
}
|
||||
public void setM02RegsitPnttm(String m02RegsitPnttm) {
|
||||
this.m02RegsitPnttm = m02RegsitPnttm;
|
||||
}
|
||||
public String getM03Ea() {
|
||||
return m03Ea;
|
||||
}
|
||||
public void setM03Ea(String m03Ea) {
|
||||
this.m03Ea = m03Ea;
|
||||
}
|
||||
public String getM03Tm() {
|
||||
return m03Tm;
|
||||
}
|
||||
public void setM03Tm(String m03Tm) {
|
||||
this.m03Tm = m03Tm;
|
||||
}
|
||||
public String getM03RegisterId() {
|
||||
return m03RegisterId;
|
||||
}
|
||||
public void setM03RegisterId(String m03RegisterId) {
|
||||
this.m03RegisterId = m03RegisterId;
|
||||
}
|
||||
public String getM03RegsitPnttm() {
|
||||
return m03RegsitPnttm;
|
||||
}
|
||||
public void setM03RegsitPnttm(String m03RegsitPnttm) {
|
||||
this.m03RegsitPnttm = m03RegsitPnttm;
|
||||
}
|
||||
public String getM04Ea() {
|
||||
return m04Ea;
|
||||
}
|
||||
public void setM04Ea(String m04Ea) {
|
||||
this.m04Ea = m04Ea;
|
||||
}
|
||||
public String getM04Tm() {
|
||||
return m04Tm;
|
||||
}
|
||||
public void setM04Tm(String m04Tm) {
|
||||
this.m04Tm = m04Tm;
|
||||
}
|
||||
public String getM04RegisterId() {
|
||||
return m04RegisterId;
|
||||
}
|
||||
public void setM04RegisterId(String m04RegisterId) {
|
||||
this.m04RegisterId = m04RegisterId;
|
||||
}
|
||||
public String getM04RegsitPnttm() {
|
||||
return m04RegsitPnttm;
|
||||
}
|
||||
public void setM04RegsitPnttm(String m04RegsitPnttm) {
|
||||
this.m04RegsitPnttm = m04RegsitPnttm;
|
||||
}
|
||||
public String getM05Ea() {
|
||||
return m05Ea;
|
||||
}
|
||||
public void setM05Ea(String m05Ea) {
|
||||
this.m05Ea = m05Ea;
|
||||
}
|
||||
public String getM05Tm() {
|
||||
return m05Tm;
|
||||
}
|
||||
public void setM05Tm(String m05Tm) {
|
||||
this.m05Tm = m05Tm;
|
||||
}
|
||||
public String getM05RegisterId() {
|
||||
return m05RegisterId;
|
||||
}
|
||||
public void setM05RegisterId(String m05RegisterId) {
|
||||
this.m05RegisterId = m05RegisterId;
|
||||
}
|
||||
public String getM05RegsitPnttm() {
|
||||
return m05RegsitPnttm;
|
||||
}
|
||||
public void setM05RegsitPnttm(String m05RegsitPnttm) {
|
||||
this.m05RegsitPnttm = m05RegsitPnttm;
|
||||
}
|
||||
public String getM06Ea() {
|
||||
return m06Ea;
|
||||
}
|
||||
public void setM06Ea(String m06Ea) {
|
||||
this.m06Ea = m06Ea;
|
||||
}
|
||||
public String getM06Tm() {
|
||||
return m06Tm;
|
||||
}
|
||||
public void setM06Tm(String m06Tm) {
|
||||
this.m06Tm = m06Tm;
|
||||
}
|
||||
public String getM06RegisterId() {
|
||||
return m06RegisterId;
|
||||
}
|
||||
public void setM06RegisterId(String m06RegisterId) {
|
||||
this.m06RegisterId = m06RegisterId;
|
||||
}
|
||||
public String getM06RegsitPnttm() {
|
||||
return m06RegsitPnttm;
|
||||
}
|
||||
public void setM06RegsitPnttm(String m06RegsitPnttm) {
|
||||
this.m06RegsitPnttm = m06RegsitPnttm;
|
||||
}
|
||||
public String getM07Ea() {
|
||||
return m07Ea;
|
||||
}
|
||||
public void setM07Ea(String m07Ea) {
|
||||
this.m07Ea = m07Ea;
|
||||
}
|
||||
public String getM07Tm() {
|
||||
return m07Tm;
|
||||
}
|
||||
public void setM07Tm(String m07Tm) {
|
||||
this.m07Tm = m07Tm;
|
||||
}
|
||||
public String getM07RegisterId() {
|
||||
return m07RegisterId;
|
||||
}
|
||||
public void setM07RegisterId(String m07RegisterId) {
|
||||
this.m07RegisterId = m07RegisterId;
|
||||
}
|
||||
public String getM07RegsitPnttm() {
|
||||
return m07RegsitPnttm;
|
||||
}
|
||||
public void setM07RegsitPnttm(String m07RegsitPnttm) {
|
||||
this.m07RegsitPnttm = m07RegsitPnttm;
|
||||
}
|
||||
public String getM08Ea() {
|
||||
return m08Ea;
|
||||
}
|
||||
public void setM08Ea(String m08Ea) {
|
||||
this.m08Ea = m08Ea;
|
||||
}
|
||||
public String getM08Tm() {
|
||||
return m08Tm;
|
||||
}
|
||||
public void setM08Tm(String m08Tm) {
|
||||
this.m08Tm = m08Tm;
|
||||
}
|
||||
public String getM08RegisterId() {
|
||||
return m08RegisterId;
|
||||
}
|
||||
public void setM08RegisterId(String m08RegisterId) {
|
||||
this.m08RegisterId = m08RegisterId;
|
||||
}
|
||||
public String getM08RegsitPnttm() {
|
||||
return m08RegsitPnttm;
|
||||
}
|
||||
public void setM08RegsitPnttm(String m08RegsitPnttm) {
|
||||
this.m08RegsitPnttm = m08RegsitPnttm;
|
||||
}
|
||||
public String getM09Ea() {
|
||||
return m09Ea;
|
||||
}
|
||||
public void setM09Ea(String m09Ea) {
|
||||
this.m09Ea = m09Ea;
|
||||
}
|
||||
public String getM09Tm() {
|
||||
return m09Tm;
|
||||
}
|
||||
public void setM09Tm(String m09Tm) {
|
||||
this.m09Tm = m09Tm;
|
||||
}
|
||||
public String getM09RegisterId() {
|
||||
return m09RegisterId;
|
||||
}
|
||||
public void setM09RegisterId(String m09RegisterId) {
|
||||
this.m09RegisterId = m09RegisterId;
|
||||
}
|
||||
public String getM09RegsitPnttm() {
|
||||
return m09RegsitPnttm;
|
||||
}
|
||||
public void setM09RegsitPnttm(String m09RegsitPnttm) {
|
||||
this.m09RegsitPnttm = m09RegsitPnttm;
|
||||
}
|
||||
public String getM10Ea() {
|
||||
return m10Ea;
|
||||
}
|
||||
public void setM10Ea(String m10Ea) {
|
||||
this.m10Ea = m10Ea;
|
||||
}
|
||||
public String getM10Tm() {
|
||||
return m10Tm;
|
||||
}
|
||||
public void setM10Tm(String m10Tm) {
|
||||
this.m10Tm = m10Tm;
|
||||
}
|
||||
public String getM10RegisterId() {
|
||||
return m10RegisterId;
|
||||
}
|
||||
public void setM10RegisterId(String m10RegisterId) {
|
||||
this.m10RegisterId = m10RegisterId;
|
||||
}
|
||||
public String getM10RegsitPnttm() {
|
||||
return m10RegsitPnttm;
|
||||
}
|
||||
public void setM10RegsitPnttm(String m10RegsitPnttm) {
|
||||
this.m10RegsitPnttm = m10RegsitPnttm;
|
||||
}
|
||||
public String getM11Ea() {
|
||||
return m11Ea;
|
||||
}
|
||||
public void setM11Ea(String m11Ea) {
|
||||
this.m11Ea = m11Ea;
|
||||
}
|
||||
public String getM11Tm() {
|
||||
return m11Tm;
|
||||
}
|
||||
public void setM11Tm(String m11Tm) {
|
||||
this.m11Tm = m11Tm;
|
||||
}
|
||||
public String getM11RegisterId() {
|
||||
return m11RegisterId;
|
||||
}
|
||||
public void setM11RegisterId(String m11RegisterId) {
|
||||
this.m11RegisterId = m11RegisterId;
|
||||
}
|
||||
public String getM11RegsitPnttm() {
|
||||
return m11RegsitPnttm;
|
||||
}
|
||||
public void setM11RegsitPnttm(String m11RegsitPnttm) {
|
||||
this.m11RegsitPnttm = m11RegsitPnttm;
|
||||
}
|
||||
public String getM12Ea() {
|
||||
return m12Ea;
|
||||
}
|
||||
public void setM12Ea(String m12Ea) {
|
||||
this.m12Ea = m12Ea;
|
||||
}
|
||||
public String getM12Tm() {
|
||||
return m12Tm;
|
||||
}
|
||||
public void setM12Tm(String m12Tm) {
|
||||
this.m12Tm = m12Tm;
|
||||
}
|
||||
public String getM12RegisterId() {
|
||||
return m12RegisterId;
|
||||
}
|
||||
public void setM12RegisterId(String m12RegisterId) {
|
||||
this.m12RegisterId = m12RegisterId;
|
||||
}
|
||||
public String getM12RegsitPnttm() {
|
||||
return m12RegsitPnttm;
|
||||
}
|
||||
public void setM12RegsitPnttm(String m12RegsitPnttm) {
|
||||
this.m12RegsitPnttm = m12RegsitPnttm;
|
||||
}
|
||||
|
||||
public String getInstrHstryOrd() {
|
||||
return instrHstryOrd;
|
||||
}
|
||||
public void setInstrHstryOrd(String instrHstryOrd) {
|
||||
this.instrHstryOrd = instrHstryOrd;
|
||||
}
|
||||
|
||||
public String getWorkWeekCnt() {
|
||||
return workWeekCnt;
|
||||
}
|
||||
public void setWorkWeekCnt(String workWeekCnt) {
|
||||
this.workWeekCnt = workWeekCnt;
|
||||
}
|
||||
public String getSbjct() {
|
||||
return sbjct;
|
||||
}
|
||||
public void setSbjct(String sbjct) {
|
||||
this.sbjct = sbjct;
|
||||
}
|
||||
public String getStrtDt() {
|
||||
return strtDt;
|
||||
}
|
||||
public void setStrtDt(String strtDt) {
|
||||
this.strtDt = strtDt;
|
||||
}
|
||||
public String getDdlnDt() {
|
||||
return ddlnDt;
|
||||
}
|
||||
public void setDdlnDt(String ddlnDt) {
|
||||
this.ddlnDt = ddlnDt;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -217,6 +217,39 @@ public class VEAStngDAO extends EgovAbstractDAO {
|
||||
return tlist;
|
||||
}
|
||||
|
||||
|
||||
//VEA_INSTR_INDVD_MNT_TM - 강사별월별시수
|
||||
public void insert_VEAIIMT(VEAStngVO paramVO) throws Exception {
|
||||
insert("VEAInstrIndvdMntTmDAO.insert", paramVO);
|
||||
}
|
||||
|
||||
public VEAStngVO selectDetail_VEAIIMT(VEAStngVO paramVO) throws Exception {
|
||||
return (VEAStngVO) select("VEAInstrIndvdMntTmDAO.selectDetail", paramVO);
|
||||
}
|
||||
|
||||
public int update_VEAIIMT(VEAStngVO paramVO) throws Exception {
|
||||
return update("VEAInstrIndvdMntTmDAO.update", paramVO);
|
||||
}
|
||||
|
||||
public int delete_VEAIIMT(VEAStngVO paramVO) throws Exception {
|
||||
return delete("VEAInstrIndvdMntTmDAO.delete", paramVO);
|
||||
}
|
||||
|
||||
//L
|
||||
public List<VEAStngVO> selectList_VEAIIMT(VEAStngVO paramVO) throws Exception {
|
||||
List<VEAStngVO> tlist = (List<VEAStngVO>) list("VEAInstrIndvdMntTmDAO.selectList", paramVO);
|
||||
return tlist;
|
||||
}
|
||||
|
||||
public List<VEAStngVO> selectPagingList_VEAIIMT(VEAStngVO paramVO) throws Exception {
|
||||
List<VEAStngVO> tlist = (List<VEAStngVO>) list("VEAInstrIndvdMntTmDAO.selectPagingList", paramVO);
|
||||
return tlist;
|
||||
}
|
||||
|
||||
public int delete_VEAIIMT_query(VEAStngVO paramVO) throws Exception {
|
||||
return delete("VEAInstrIndvdMntTmDAO.delete_query", paramVO);
|
||||
}
|
||||
|
||||
|
||||
//VEA_INSTR_RSDNC_RATIO - 강사거주지별비율
|
||||
public void insert_VEAIRR(VEAStngVO paramVO) throws Exception {
|
||||
@ -274,4 +307,33 @@ public class VEAStngDAO extends EgovAbstractDAO {
|
||||
List<VEAStngVO> tlist = (List<VEAStngVO>) list("VEABasicInfoStngDAO.selectPagingList", paramVO);
|
||||
return tlist;
|
||||
}
|
||||
|
||||
|
||||
//VEA_INSTR_HSTRY_MNG - 강사이력관리
|
||||
public void insert_VEAIHM(VEAStngVO paramVO) throws Exception {
|
||||
insert("VEAInstrHstryMngDAO.insert", paramVO);
|
||||
}
|
||||
|
||||
public VEAStngVO selectDetail_VEAIHM(VEAStngVO paramVO) throws Exception {
|
||||
return (VEAStngVO) select("VEAInstrHstryMngDAO.selectDetail", paramVO);
|
||||
}
|
||||
|
||||
public int update_VEAIHM(VEAStngVO paramVO) throws Exception {
|
||||
return update("VEAInstrHstryMngDAO.update", paramVO);
|
||||
}
|
||||
|
||||
public int delete_VEAIHM(VEAStngVO paramVO) throws Exception {
|
||||
return delete("VEAInstrHstryMngDAO.delete", paramVO);
|
||||
}
|
||||
|
||||
//L
|
||||
public List<VEAStngVO> selectList_VEAIHM(VEAStngVO paramVO) throws Exception {
|
||||
List<VEAStngVO> tlist = (List<VEAStngVO>) list("VEAInstrHstryMngDAO.selectList", paramVO);
|
||||
return tlist;
|
||||
}
|
||||
|
||||
public List<VEAStngVO> selectPagingList_VEAIHM(VEAStngVO paramVO) throws Exception {
|
||||
List<VEAStngVO> tlist = (List<VEAStngVO>) list("VEAInstrHstryMngDAO.selectPagingList", paramVO);
|
||||
return tlist;
|
||||
}
|
||||
}
|
||||
|
||||
@ -94,4 +94,10 @@ public class VEAStngMixDAO extends EgovAbstractDAO {
|
||||
public int selectList_VEAIMT_2(VEAStngVO paramVO) throws Exception {
|
||||
return (int) select("VEAAsgnmStngMixDAO.selectList_VEAIMT_2", paramVO);
|
||||
}
|
||||
|
||||
//L
|
||||
public List<VEAStngVO> selectList_VEAIIMT_1(VEAStngVO paramVO) throws Exception {
|
||||
List<VEAStngVO> tlist = (List<VEAStngVO>) list("VEAAsgnmStngMixDAO.selectList_VEAIIMT_1", paramVO);
|
||||
return tlist;
|
||||
}
|
||||
}
|
||||
|
||||
@ -302,4 +302,8 @@ public class VEAStngMixServiceImpl implements VEAStngMixService {
|
||||
public int selectList_VEAIMT_2(VEAStngVO paramVO) throws Exception{
|
||||
return vEAStngMixDAO.selectList_VEAIMT_2(paramVO);
|
||||
}
|
||||
|
||||
public List<VEAStngVO> selectList_VEAIIMT_1(VEAStngVO paramVO) throws Exception{
|
||||
return vEAStngMixDAO.selectList_VEAIIMT_1(paramVO);
|
||||
}
|
||||
}
|
||||
|
||||
@ -261,6 +261,44 @@ public class VEAStngServiceImpl implements VEAStngService {
|
||||
}
|
||||
|
||||
|
||||
//VEA_INSTR_INDVD_MNT_TM - 강사별월별시수
|
||||
//C
|
||||
public void insert_VEAIIMT(VEAStngVO paramVO) throws Exception {
|
||||
vEAStngDAO.insert_VEAIIMT(paramVO);
|
||||
}
|
||||
|
||||
//R
|
||||
public VEAStngVO selectDetail_VEAIIMT(VEAStngVO paramVO) throws Exception {
|
||||
return vEAStngDAO.selectDetail_VEAIIMT(paramVO);
|
||||
}
|
||||
|
||||
//U
|
||||
public int update_VEAIIMT(VEAStngVO paramVO) throws Exception{
|
||||
|
||||
return vEAStngDAO.update_VEAIIMT(paramVO);
|
||||
}
|
||||
|
||||
//D
|
||||
public int delete_VEAIIMT(VEAStngVO paramVO) throws Exception{
|
||||
return vEAStngDAO.delete_VEAIIMT(paramVO);
|
||||
}
|
||||
|
||||
//List
|
||||
public List<VEAStngVO> selectList_VEAIIMT(VEAStngVO paramVO) throws Exception{
|
||||
return vEAStngDAO.selectList_VEAIIMT(paramVO);
|
||||
}
|
||||
|
||||
//paging List
|
||||
public List<VEAStngVO> selectPagingList_VEAIIMT(VEAStngVO paramVO) throws Exception{
|
||||
return vEAStngDAO.selectPagingList_VEAIIMT(paramVO);
|
||||
}
|
||||
|
||||
//D
|
||||
public int delete_VEAIIMT_query(VEAStngVO paramVO) throws Exception{
|
||||
return vEAStngDAO.delete_VEAIIMT_query(paramVO);
|
||||
}
|
||||
|
||||
|
||||
//VEA_INSTR_RSDNC_RATIO - 강사거주지별비율
|
||||
//C
|
||||
public void insert_VEAIRR(VEAStngVO paramVO) throws Exception {
|
||||
@ -325,4 +363,37 @@ public class VEAStngServiceImpl implements VEAStngService {
|
||||
public List<VEAStngVO> selectPagingList_VEABIS(VEAStngVO paramVO) throws Exception{
|
||||
return vEAStngDAO.selectPagingList_VEABIS(paramVO);
|
||||
}
|
||||
|
||||
|
||||
//VEA_INSTR_HSTRY_MNG - 강사이력관리
|
||||
//C
|
||||
public void insert_VEAIHM(VEAStngVO paramVO) throws Exception {
|
||||
vEAStngDAO.insert_VEAIHM(paramVO);
|
||||
}
|
||||
|
||||
//R
|
||||
public VEAStngVO selectDetail_VEAIHM(VEAStngVO paramVO) throws Exception {
|
||||
return vEAStngDAO.selectDetail_VEAIHM(paramVO);
|
||||
}
|
||||
|
||||
//U
|
||||
public int update_VEAIHM(VEAStngVO paramVO) throws Exception{
|
||||
|
||||
return vEAStngDAO.update_VEAIHM(paramVO);
|
||||
}
|
||||
|
||||
//D
|
||||
public int delete_VEAIHM(VEAStngVO paramVO) throws Exception{
|
||||
return vEAStngDAO.delete_VEAIHM(paramVO);
|
||||
}
|
||||
|
||||
//List
|
||||
public List<VEAStngVO> selectList_VEAIHM(VEAStngVO paramVO) throws Exception{
|
||||
return vEAStngDAO.selectList_VEAIHM(paramVO);
|
||||
}
|
||||
|
||||
//paging List
|
||||
public List<VEAStngVO> selectPagingList_VEAIHM(VEAStngVO paramVO) throws Exception{
|
||||
return vEAStngDAO.selectPagingList_VEAIHM(paramVO);
|
||||
}
|
||||
}
|
||||
|
||||
@ -26,4 +26,6 @@ public interface ScholInfoService {
|
||||
|
||||
int insertSelectIsltn(ScholInfoVO scholInfoVO) throws Exception;
|
||||
|
||||
int insertSelectIsltn20231107(ScholInfoVO scholInfoVO) throws Exception;
|
||||
|
||||
}
|
||||
|
||||
@ -57,4 +57,9 @@ public class ScholInfoDAO extends EgovAbstractDAO {
|
||||
public int insertSelectIsltn(ScholInfoVO scholInfoVO) throws Exception {
|
||||
return update("ScholInfoDAO.insertSelectIsltn", scholInfoVO);
|
||||
}
|
||||
|
||||
public int insertSelectIsltn20231107(ScholInfoVO scholInfoVO) throws Exception {
|
||||
return update("ScholInfoDAO.insertSelectIsltn20231107", scholInfoVO);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -64,4 +64,10 @@ public class ScholInfoServiceImpl implements ScholInfoService {
|
||||
public int insertSelectIsltn(ScholInfoVO scholInfoVO) throws Exception {
|
||||
return scholInfoDAO.insertSelectIsltn(scholInfoVO);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int insertSelectIsltn20231107(ScholInfoVO scholInfoVO) throws Exception {
|
||||
return scholInfoDAO.insertSelectIsltn20231107(scholInfoVO);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -46,6 +46,9 @@ import kcc.let.cop.bbs.service.Board;
|
||||
import kcc.let.uat.uia.service.SsoLoginVO;
|
||||
import kcc.let.utl.fcc.service.EgovCryptoUtil;
|
||||
import kcc.let.utl.fcc.service.EgovCryptoUtil4VO;
|
||||
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.aplct.cpyrgExprnClsrm.exprnClsrmAplct.service.ScholInfoService;
|
||||
import kcc.ve.aplct.cpyrgExprnClsrm.exprnClsrmAplct.service.ScholInfoVO;
|
||||
import kcc.ve.instr.tngrVisitEdu.asgnmInfo.service.VEEduPnltyService;
|
||||
@ -209,6 +212,14 @@ public class OprtnInstrTngrPrflContoller {
|
||||
@Resource(name = "vEEduPnltyService")
|
||||
private VEEduPnltyService vEEduPnltyService;
|
||||
|
||||
//강의설정 관리
|
||||
@Resource(name = "vEAStngService")
|
||||
private VEAStngService vEAStngService;
|
||||
|
||||
//강의설정 관리(MIX)
|
||||
@Resource(name = "vEAStngMixService")
|
||||
private VEAStngMixService vEAStngMixService;
|
||||
|
||||
/**
|
||||
* 1.강사등록신청 목록 조회 -
|
||||
*/
|
||||
@ -1186,11 +1197,20 @@ public class OprtnInstrTngrPrflContoller {
|
||||
for (int i=1; i<sb.size(); i++) {
|
||||
String[] s_tmp = sb.get(i).split(s_split);
|
||||
|
||||
System.out.println("----------");
|
||||
System.out.println(i);
|
||||
System.out.println(sb.get(i));
|
||||
System.out.println("==========");
|
||||
|
||||
//도서지역학교 등록 처리 동일한 정보가 있는지 확인.
|
||||
//ve_schol 테이블에 학교명이 중복되지 않으면서, ve_schol_islnt 테이블에 데이터가 없으면 insert, 있으면 update
|
||||
scholInfoVO.setScholNm(s_tmp[0]);
|
||||
scholInfoVO.setStndrdScholCd(s_tmp[0]);
|
||||
scholInfoVO.setIsltnYn(s_tmp[2]);
|
||||
scholInfoVO.setIsltn2Yn(s_tmp[3]);
|
||||
scholInfoVO.setIsltn3Yn(s_tmp[4]);
|
||||
scholInfoVO.setPpltnReducAreaYn(s_tmp[5]);
|
||||
|
||||
int resultCnt = scholInfoService.insertSelectIsltn(scholInfoVO);
|
||||
int resultCnt = scholInfoService.insertSelectIsltn20231107(scholInfoVO);
|
||||
|
||||
if(resultCnt > 0) {
|
||||
succCnt++;
|
||||
@ -2594,6 +2614,43 @@ public class OprtnInstrTngrPrflContoller {
|
||||
return modelAndView;
|
||||
}
|
||||
|
||||
/**
|
||||
* 6. 강사 이력 관리 팝업
|
||||
*/
|
||||
@RequestMapping("/kccadr/oprtn/tngrVisitEdu/popup/instrHstryMngPopup.do")
|
||||
public String advRndsStngMngPopup(
|
||||
@ModelAttribute("vEAStngVO") VEAStngVO vEAStngVO
|
||||
, ModelMap model
|
||||
, HttpServletRequest request
|
||||
) throws Exception {
|
||||
|
||||
//로그인 처리====================================
|
||||
//로그인 정보 가져오기
|
||||
|
||||
//String s_userCheckNInfo = checkLoginUtil.userCheckNInfo(model, request);
|
||||
//if (!"".equals(s_userCheckNInfo)) return s_userCheckNInfo;
|
||||
|
||||
//로그인 처리====================================
|
||||
|
||||
|
||||
try {
|
||||
LoginVO loginVO = checkLoginUtil.getAuthLoginVO(); //권한에 따른 로그인 정보 가져오기
|
||||
vEAStngVO.setFrstRegisterId(loginVO.getUniqId());
|
||||
|
||||
//등록된 해당 년도의 회차리스트 정보 가져오기
|
||||
List<VEAStngVO> selectBasicList = vEAStngService.selectList_VEALRS(vEAStngVO);
|
||||
|
||||
model.addAttribute("selectBasicList", selectBasicList);
|
||||
|
||||
|
||||
}catch(Exception ex)
|
||||
{
|
||||
ex.printStackTrace();
|
||||
}
|
||||
|
||||
|
||||
return "oprtn/tngrVisitEdu/popup/instrHstryMngPopup";
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
||||
@ -853,6 +853,130 @@ public class AreaLctrMngTngrController {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 강사이력 등록 처리
|
||||
*/
|
||||
@RequestMapping("popup/instrHstryRegAjax.do")
|
||||
public ModelAndView instrHstryRegPopupAjax(
|
||||
@ModelAttribute("vEInstrAsgnmVO") VEInstrAsgnmVO vEInstrAsgnmVO
|
||||
, 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(); //권한에 따른 로그인 정보 가져오기
|
||||
|
||||
//교육차시강사배정 테이블에 패널티 정보 update
|
||||
try {
|
||||
//목록에서 한 패널티를 여러 유저에게 등록 시
|
||||
if(!"".equals(vEInstrAsgnmVO.getChk()) && vEInstrAsgnmVO.getChk() != null) {
|
||||
String[] splitChk = vEInstrAsgnmVO.getChk().split(",");
|
||||
String[] userId = vEInstrAsgnmVO.getUserId().split(",");
|
||||
for(int i=0; i<splitChk.length; i++) {
|
||||
if(!"".equals(splitChk[i])) {
|
||||
String[] aplctChasi = splitChk[i].split("\\@");
|
||||
|
||||
VEInstrAsgnmVO vo = new VEInstrAsgnmVO();
|
||||
vo.setEduAplctOrd(aplctChasi[0]);
|
||||
vo.setEduChasiOrd(aplctChasi[1]);
|
||||
|
||||
vo.setPnltyCd(vEInstrAsgnmVO.getPnltyCd());
|
||||
vEInstrAsgnmVO.setFrstRegisterId(loginVO.getUniqId()); //esntl_id
|
||||
vo.setUserId(userId[i]);
|
||||
|
||||
String s_pnltyOrd = pnltyOrdGnrService.getNextStringId();
|
||||
vo.setPnltyOrd(s_pnltyOrd);
|
||||
|
||||
vEEduPnltyService.insert(vo);
|
||||
}
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
String[] pnltyCd = vEInstrAsgnmVO.getPnltyCd().split(",");
|
||||
|
||||
vEInstrAsgnmVO.setFrstRegisterId(loginVO.getUniqId()); //esntl_id
|
||||
vEInstrAsgnmVO.setUserId(vEInstrAsgnmVO.getUserId());
|
||||
/*
|
||||
// merge로 바꾸고 주석처리
|
||||
// 기존에 등록된 패널티를 삭제
|
||||
vEInstrAsgnmVO.setPnltyCd("");
|
||||
vEEduPnltyService.delete(vEInstrAsgnmVO);
|
||||
*/
|
||||
// 체크한 패널티 코드를 insert
|
||||
for (int i=0; i<pnltyCd.length; i++) {
|
||||
vEInstrAsgnmVO.setPnltyCd(pnltyCd[i]);
|
||||
|
||||
String s_pnltyOrd = pnltyOrdGnrService.getNextStringId();
|
||||
vEInstrAsgnmVO.setPnltyOrd(s_pnltyOrd);
|
||||
|
||||
vEEduPnltyService.insert(vEInstrAsgnmVO);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
} catch (Exception ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
|
||||
modelAndView.addObject("result", "success");
|
||||
|
||||
return modelAndView;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 강사이력 삭제 처리
|
||||
*/
|
||||
@RequestMapping("popup/instrHstryDelAjax.do")
|
||||
public ModelAndView instrHstryDelPopupAjax(
|
||||
@ModelAttribute("vEInstrAsgnmVO") VEInstrAsgnmVO vEInstrAsgnmVO
|
||||
, 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(); //권한에 따른 로그인 정보 가져오기
|
||||
|
||||
//교육차시강사배정 테이블에 패널티 정보 삭제
|
||||
try {
|
||||
//목록에서 한 패널티를 여러 유저에게 등록 시
|
||||
vEEduPnltyService.delete(vEInstrAsgnmVO);
|
||||
|
||||
} catch (Exception ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
|
||||
modelAndView.addObject("result", "success");
|
||||
|
||||
return modelAndView;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 강사료 등록 처리
|
||||
*/
|
||||
|
||||
@ -447,6 +447,13 @@ public class NewEduCnfrmMngTngrController {
|
||||
String s_yrMnt = request.getParameter("yrMnt");
|
||||
String s_stngYr = request.getParameter("stngYr");
|
||||
|
||||
String[] a_yrMnt = s_yrMnt.split("[.]");
|
||||
|
||||
System.out.println(s_yrMnt);
|
||||
System.out.println(s_stngYr);
|
||||
System.out.println(a_yrMnt.length);
|
||||
|
||||
|
||||
//#1
|
||||
VEInstrDetailVO vEInstrDetailVO4 = null; //일별강사수 정보 - #1
|
||||
int i_rate_ttl = 0; //비율 총합
|
||||
@ -570,7 +577,132 @@ public class NewEduCnfrmMngTngrController {
|
||||
|
||||
|
||||
int i_ret = vEAStngService.update_VEAIMT(vEAStngVO);
|
||||
|
||||
|
||||
//개별 강사의 계산한 년월의 강의일수와 최대차시수를 넣어준다.
|
||||
{
|
||||
//step1.대상강사 리스트
|
||||
//step2.강사별 월별시수 넣기
|
||||
// 1.년도
|
||||
// 2.강사 id
|
||||
// 3.설정강의일수
|
||||
// 4.최대 가능 차시수
|
||||
// 5.등록자 id
|
||||
|
||||
System.out.println(a_yrMnt[0]);
|
||||
System.out.println(a_yrMnt[1]);
|
||||
|
||||
//작성자 정보
|
||||
LoginVO loginVO = checkLoginUtil.getAuthLoginVO(); //권한에 따른 로그인 정보 가져오기
|
||||
//instrVEAStngVO.setFrstRegisterId(loginVO.getUniqId());
|
||||
|
||||
//step1.대상강사 리스트
|
||||
List<VEAStngVO> selectList_VEAIIMT_1 = vEAStngMixService.selectList_VEAIIMT_1(vEAStngVO);
|
||||
|
||||
for (int i=0;i<selectList_VEAIIMT_1.size();i++) {
|
||||
VEAStngVO instrVEAStngVO = selectList_VEAIIMT_1.get(i);
|
||||
|
||||
instrVEAStngVO.setYr(a_yrMnt[0]);
|
||||
|
||||
if ("01".equals(a_yrMnt[1])) {
|
||||
instrVEAStngVO.setM01Ea(instrVEAStngVO.getWorkWeekCnt());
|
||||
instrVEAStngVO.setM01Tm(Integer.toString(i_rate_day*Integer.parseInt(instrVEAStngVO.getWorkWeekCnt())));
|
||||
instrVEAStngVO.setM01RegisterId(loginVO.getUniqId());
|
||||
|
||||
vEAStngService.insert_VEAIIMT(instrVEAStngVO);
|
||||
|
||||
|
||||
}else if ("02".equals(a_yrMnt[1])) {
|
||||
instrVEAStngVO.setM02Ea(instrVEAStngVO.getWorkWeekCnt());
|
||||
instrVEAStngVO.setM02Tm(Integer.toString(i_rate_day*Integer.parseInt(instrVEAStngVO.getWorkWeekCnt())));
|
||||
instrVEAStngVO.setM02RegisterId(loginVO.getUniqId());
|
||||
|
||||
vEAStngService.insert_VEAIIMT(instrVEAStngVO);
|
||||
|
||||
|
||||
}else if ("03".equals(a_yrMnt[1])) {
|
||||
instrVEAStngVO.setM03Ea(instrVEAStngVO.getWorkWeekCnt());
|
||||
instrVEAStngVO.setM03Tm(Integer.toString(i_rate_day*Integer.parseInt(instrVEAStngVO.getWorkWeekCnt())));
|
||||
instrVEAStngVO.setM03RegisterId(loginVO.getUniqId());
|
||||
|
||||
vEAStngService.insert_VEAIIMT(instrVEAStngVO);
|
||||
|
||||
|
||||
}else if ("04".equals(a_yrMnt[1])) {
|
||||
instrVEAStngVO.setM04Ea(instrVEAStngVO.getWorkWeekCnt());
|
||||
instrVEAStngVO.setM04Tm(Integer.toString(i_rate_day*Integer.parseInt(instrVEAStngVO.getWorkWeekCnt())));
|
||||
instrVEAStngVO.setM04RegisterId(loginVO.getUniqId());
|
||||
|
||||
vEAStngService.insert_VEAIIMT(instrVEAStngVO);
|
||||
|
||||
|
||||
}else if ("05".equals(a_yrMnt[1])) {
|
||||
instrVEAStngVO.setM05Ea(instrVEAStngVO.getWorkWeekCnt());
|
||||
instrVEAStngVO.setM05Tm(Integer.toString(i_rate_day*Integer.parseInt(instrVEAStngVO.getWorkWeekCnt())));
|
||||
instrVEAStngVO.setM05RegisterId(loginVO.getUniqId());
|
||||
|
||||
vEAStngService.insert_VEAIIMT(instrVEAStngVO);
|
||||
|
||||
|
||||
}else if ("06".equals(a_yrMnt[1])) {
|
||||
instrVEAStngVO.setM06Ea(instrVEAStngVO.getWorkWeekCnt());
|
||||
instrVEAStngVO.setM06Tm(Integer.toString(i_rate_day*Integer.parseInt(instrVEAStngVO.getWorkWeekCnt())));
|
||||
instrVEAStngVO.setM06RegisterId(loginVO.getUniqId());
|
||||
|
||||
vEAStngService.insert_VEAIIMT(instrVEAStngVO);
|
||||
|
||||
|
||||
}else if ("07".equals(a_yrMnt[1])) {
|
||||
instrVEAStngVO.setM07Ea(instrVEAStngVO.getWorkWeekCnt());
|
||||
instrVEAStngVO.setM07Tm(Integer.toString(i_rate_day*Integer.parseInt(instrVEAStngVO.getWorkWeekCnt())));
|
||||
instrVEAStngVO.setM07RegisterId(loginVO.getUniqId());
|
||||
|
||||
vEAStngService.insert_VEAIIMT(instrVEAStngVO);
|
||||
|
||||
|
||||
}else if ("08".equals(a_yrMnt[1])) {
|
||||
instrVEAStngVO.setM08Ea(instrVEAStngVO.getWorkWeekCnt());
|
||||
instrVEAStngVO.setM08Tm(Integer.toString(i_rate_day*Integer.parseInt(instrVEAStngVO.getWorkWeekCnt())));
|
||||
instrVEAStngVO.setM08RegisterId(loginVO.getUniqId());
|
||||
|
||||
vEAStngService.insert_VEAIIMT(instrVEAStngVO);
|
||||
|
||||
|
||||
}else if ("09".equals(a_yrMnt[1])) {
|
||||
instrVEAStngVO.setM09Ea(instrVEAStngVO.getWorkWeekCnt());
|
||||
instrVEAStngVO.setM09Tm(Integer.toString(i_rate_day*Integer.parseInt(instrVEAStngVO.getWorkWeekCnt())));
|
||||
instrVEAStngVO.setM09RegisterId(loginVO.getUniqId());
|
||||
|
||||
vEAStngService.insert_VEAIIMT(instrVEAStngVO);
|
||||
|
||||
|
||||
}else if ("10".equals(a_yrMnt[1])) {
|
||||
instrVEAStngVO.setM10Ea(instrVEAStngVO.getWorkWeekCnt());
|
||||
instrVEAStngVO.setM10Tm(Integer.toString(i_rate_day*Integer.parseInt(instrVEAStngVO.getWorkWeekCnt())));
|
||||
instrVEAStngVO.setM10RegisterId(loginVO.getUniqId());
|
||||
|
||||
vEAStngService.insert_VEAIIMT(instrVEAStngVO);
|
||||
|
||||
|
||||
}else if ("11".equals(a_yrMnt[1])) {
|
||||
instrVEAStngVO.setM11Ea(instrVEAStngVO.getWorkWeekCnt());
|
||||
instrVEAStngVO.setM11Tm(Integer.toString(i_rate_day*Integer.parseInt(instrVEAStngVO.getWorkWeekCnt())));
|
||||
instrVEAStngVO.setM11RegisterId(loginVO.getUniqId());
|
||||
|
||||
vEAStngService.insert_VEAIIMT(instrVEAStngVO);
|
||||
|
||||
|
||||
}else if ("12".equals(a_yrMnt[1])) {
|
||||
instrVEAStngVO.setM12Ea(instrVEAStngVO.getWorkWeekCnt());
|
||||
instrVEAStngVO.setM12Tm(Integer.toString(i_rate_day*Integer.parseInt(instrVEAStngVO.getWorkWeekCnt())));
|
||||
instrVEAStngVO.setM12RegisterId(loginVO.getUniqId());
|
||||
|
||||
vEAStngService.insert_VEAIIMT(instrVEAStngVO);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
modelAndView.addObject("result", "success");
|
||||
|
||||
@ -607,6 +739,7 @@ public class NewEduCnfrmMngTngrController {
|
||||
//step5.일별 총합 차시 계산#2
|
||||
|
||||
String s_yrMnt = request.getParameter("yrMnt");
|
||||
String[] a_yrMnt= s_yrMnt.split("[.]");
|
||||
|
||||
//step3.1일당 비율 계산
|
||||
//강사 월별 시수 계산 가져오기
|
||||
@ -617,6 +750,11 @@ public class NewEduCnfrmMngTngrController {
|
||||
|
||||
int i_ret = vEAStngService.delete_VEAIMT(vEAStngVO);
|
||||
|
||||
vEAStngVO.setYr(a_yrMnt[0]);
|
||||
vEAStngVO.setSetQuery(" SET m"+a_yrMnt[1]+"_ea=null , m"+a_yrMnt[1]+"_tm=null , m"+a_yrMnt[1]+"_regist_pnttm=null , m"+a_yrMnt[1]+"_register_id=null ");
|
||||
|
||||
i_ret = vEAStngService.delete_VEAIIMT_query(vEAStngVO);
|
||||
|
||||
|
||||
modelAndView.addObject("result", "success");
|
||||
|
||||
|
||||
@ -95,7 +95,8 @@ public class ScholMngTngrController {
|
||||
|
||||
//2.1 학교명 검색 시
|
||||
if(StringUtil.isNotEmpty(scholInfoVO.getSearchKeyword())){
|
||||
selectCondition += "AND a.SCHOL_NM LIKE CONCAT ('%', '" +scholInfoVO.getSearchKeyword() + "', '%')";
|
||||
//selectCondition += "AND a.SCHOL_NM LIKE CONCAT ('%', '" +scholInfoVO.getSearchKeyword() + "', '%')";
|
||||
selectCondition += "AND a.SCHOL_NM LIKE '%'|| '" +scholInfoVO.getSearchKeyword() + "'|| '%'";
|
||||
}
|
||||
//2.2 학교종류
|
||||
if(StringUtil.isNotEmpty(scholInfoVO.getScholDivCd())){
|
||||
|
||||
@ -2967,5 +2967,19 @@
|
||||
<property name="cipers" value="10" /><!-- 일련번호(순번) 전체 길이(prefix길이 미포함) -->
|
||||
<property name="fillChar" value="0" />
|
||||
</bean>
|
||||
|
||||
|
||||
<!-- 23.강사이력관리순번 vea_instr_hstry_mng -->
|
||||
<bean name="instrHstryOrdGnrService" class="egovframework.rte.fdl.idgnr.impl.EgovTableIdGnrServiceImpl" destroy-method="destroy">
|
||||
<property name="dataSource" ref="dataSource" />
|
||||
<property name="strategy" ref="instrHstryOrdStrategy" /><!-- strategy 값 수정 -->
|
||||
<property name="blockSize" value="10"/>
|
||||
<property name="table" value="IDS"/>
|
||||
<property name="tableName" value="INSTRHSTRY_ORD"/><!-- tableName 값 수정 -->
|
||||
</bean>
|
||||
<!-- 서류요청순번 ID Generation Strategy Config -->
|
||||
<bean name="instrHstryOrdStrategy" class="egovframework.rte.fdl.idgnr.impl.strategy.EgovIdGnrStrategyImpl"><!-- bean name 값에 strategy 값 입력 -->
|
||||
<property name="prefix" value="instrHstryOrd_" /><!-- prefix 값 수정 -->
|
||||
<property name="cipers" value="10" /><!-- 일련번호(순번) 전체 길이(prefix길이 미포함) -->
|
||||
<property name="fillChar" value="0" />
|
||||
</bean>
|
||||
</beans>
|
||||
|
||||
@ -127,6 +127,8 @@
|
||||
<sqlMap resource="egovframework/sqlmap/ve/tngr/VEAInstrAsgnmCndtn_SQL_Tibero.xml"/> <!-- 강사배정조건 -->
|
||||
<sqlMap resource="egovframework/sqlmap/ve/tngr/VEAInstrRsdncRatio_SQL_Tibero.xml"/> <!-- 강사주거지별비율 -->
|
||||
<sqlMap resource="egovframework/sqlmap/ve/tngr/VEAInstrMntTm_SQL_Tibero.xml"/> <!-- 강사월별시수 -->
|
||||
<sqlMap resource="egovframework/sqlmap/ve/tngr/VEAInstrIndvdMntTm_SQL_Tibero.xml"/> <!-- 강사별월별시수 -->
|
||||
<sqlMap resource="egovframework/sqlmap/ve/tngr/VEAInstrHstryMng_SQL_Tibero.xml"/> <!-- 강사이력관리 -->
|
||||
|
||||
<sqlMap resource="egovframework/sqlmap/ve/tngr/VEAAsgnmStngMix_SQL_Tibero.xml"/> <!-- 강사배정(MIX) -->
|
||||
|
||||
|
||||
@ -362,6 +362,20 @@
|
||||
ON DUPLICATE KEY UPDATE schol_id = t.schol_id
|
||||
</update>
|
||||
|
||||
<!-- 벽지 학교 Excel 등록 C (merge) -->
|
||||
<update id="ScholInfoDAO.insertSelectIsltn20231107" parameterClass="ScholInfoVO">
|
||||
/* ScholInfoDAO.insertSelectIsltn20231107 */
|
||||
UPDATE ve_schol a
|
||||
SET a.isltn_yn=#isltnYn#
|
||||
, a.isltn2_yn=#isltn2Yn#
|
||||
, a.isltn3_yn=#isltn3Yn#
|
||||
, a.ppltn_reduc_area_yn=#ppltnReducAreaYn#
|
||||
WHERE a.SCHOL_ID =(
|
||||
SELECT schol_id
|
||||
FROM ve_schol
|
||||
WHERE stndrd_schol_cd=#stndrdScholCd#
|
||||
)
|
||||
</update>
|
||||
|
||||
<!-- 주소 Excel 등록 C (merge) -->
|
||||
<!--
|
||||
|
||||
@ -136,5 +136,101 @@
|
||||
AND substring(b.edu_hope_dt,1,7)=#mnt#
|
||||
GROUP BY substring(b.edu_hope_dt,1,7)
|
||||
|
||||
</select>
|
||||
</select>
|
||||
|
||||
<!-- 강사별 월별 시수 관리 대상 강사 리스트 -->
|
||||
<select id="VEAAsgnmStngMixDAO.selectList_VEAIIMT_1" parameterClass="VEAStngVO" resultClass="VEAStngVO">
|
||||
/* VEAAsgnmStngMixDAO.selectList_VEAIIMT_1 */
|
||||
|
||||
SELECT COUNT(1) OVER() AS totCnt ,
|
||||
a00.userId,
|
||||
CASE
|
||||
WHEN d.mon_lctr_yn = 'Y'
|
||||
THEN 1
|
||||
ELSE 0
|
||||
END +
|
||||
CASE
|
||||
WHEN d.tue_lctr_yn = 'Y'
|
||||
THEN 1
|
||||
ELSE 0
|
||||
END +
|
||||
CASE
|
||||
WHEN d.wed_lctr_yn = 'Y'
|
||||
THEN 1
|
||||
ELSE 0
|
||||
END +
|
||||
CASE
|
||||
WHEN d.thu_lctr_yn = 'Y'
|
||||
THEN 1
|
||||
ELSE 0
|
||||
END +
|
||||
CASE
|
||||
WHEN d.fri_lctr_yn = 'Y'
|
||||
THEN 1
|
||||
ELSE 0
|
||||
END AS workWeekCnt ,
|
||||
CASE
|
||||
WHEN d.mon_lctr_yn = 'Y'
|
||||
THEN 1
|
||||
ELSE 0
|
||||
END AS monLctrYn ,
|
||||
CASE
|
||||
WHEN d.tue_lctr_yn = 'Y'
|
||||
THEN 1
|
||||
ELSE 0
|
||||
END AS tueLctrYn ,
|
||||
CASE
|
||||
WHEN d.wed_lctr_yn = 'Y'
|
||||
THEN 1
|
||||
ELSE 0
|
||||
END AS wedLctrYn ,
|
||||
CASE
|
||||
WHEN d.thu_lctr_yn = 'Y'
|
||||
THEN 1
|
||||
ELSE 0
|
||||
END AS thuLctrYn ,
|
||||
CASE
|
||||
WHEN d.fri_lctr_yn = 'Y'
|
||||
THEN 1
|
||||
ELSE 0
|
||||
END AS friLctrYn ,
|
||||
(SELECT g.sbmt_pnttm
|
||||
FROM ve_instr_detail g
|
||||
WHERE g.user_id = a.user_id
|
||||
AND g.instr_detail_ord = '1'
|
||||
AND g.instr_div = a.instr_div
|
||||
)
|
||||
AS regSbmtPnttm
|
||||
FROM ( SELECT COUNT(1) OVER() AS totCnt ,
|
||||
a0.instr_div AS instrDiv ,
|
||||
a0.user_id AS userId ,
|
||||
a0.instr_detail_ord AS instrDetailOrd
|
||||
FROM ve_instr b0 ,
|
||||
ve_instr_detail a0
|
||||
WHERE 1 =1
|
||||
AND a0.sbmt_yn='Y'
|
||||
AND a0.use_yn = 'Y'
|
||||
GROUP BY a0.instr_div ,
|
||||
a0.user_id ,
|
||||
a0.instr_detail_ord
|
||||
)
|
||||
a00 ,
|
||||
ve_instr_detail a
|
||||
LEFT OUTER JOIN ve_lctr_stng d
|
||||
ON (
|
||||
d.instr_div = a.instr_div
|
||||
AND d.user_id = a.user_id
|
||||
AND d.use_yn ='Y'
|
||||
)
|
||||
WHERE 1 =1
|
||||
AND a00.instrDiv =a.instr_div
|
||||
AND a00.userId =a.user_id
|
||||
AND a00.instrDetailOrd=a.instr_detail_ord
|
||||
AND
|
||||
(
|
||||
a.qlfct_end_yn = 'N' OR a.qlfct_end_yn IS NULL
|
||||
)
|
||||
AND a.instr_div='10'
|
||||
|
||||
</select>
|
||||
</sqlMap>
|
||||
|
||||
@ -0,0 +1,219 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://www.ibatis.com/dtd/sql-map-2.dtd">
|
||||
<!-- 찾교 교육 결과 테이블 -->
|
||||
<sqlMap namespace="VEAInstrHstryMng">
|
||||
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/>
|
||||
<typeAlias alias="VEAStngVO" type="kcc.ve.adv.tngr.stngInfo.service.VEAStngVO"/>
|
||||
|
||||
<!-- 공통 테이블 명 -->
|
||||
<sql id="VEAInstrHstryMngDAO.table_name">
|
||||
vea_instr_hstry_mng
|
||||
</sql>
|
||||
|
||||
<!-- 저장용 공통 컬럼 명 -->
|
||||
<sql id="VEAInstrHstryMngDAO.column_name">
|
||||
instr_hstry_ord,
|
||||
|
||||
user_id,
|
||||
sbjct,
|
||||
cn,
|
||||
strt_dt,
|
||||
ddln_dt,
|
||||
|
||||
frst_regist_pnttm,
|
||||
frst_register_id
|
||||
|
||||
|
||||
</sql>
|
||||
|
||||
<!-- 조회용 공통 컬럼 명 -->
|
||||
<sql id="VEAInstrHstryMngDAO.select_column_name">
|
||||
a.instr_hstry_ord AS instrHstryOrd,
|
||||
|
||||
a.user_id AS userId,
|
||||
a.sbjct AS sbjct,
|
||||
a.cn AS cn,
|
||||
a.strt_dt AS strtDt,
|
||||
a.ddln_dt AS ddlnDt,
|
||||
|
||||
|
||||
TO_CHAR(a.frst_regist_pnttm,'YYYY-MM-DD') AS frstRegistPnttm,
|
||||
a.frst_register_id AS frstRegisterId
|
||||
|
||||
</sql>
|
||||
|
||||
<!-- 강사 등록 C -->
|
||||
<insert id="VEAInstrHstryMngDAO.insert" parameterClass="VEAStngVO">
|
||||
/* VEAInstrHstryMngDAO.insert */
|
||||
MERGE INTO <include refid="VEAInstrHstryMngDAO.table_name"/>
|
||||
USING DUAL
|
||||
ON(instr_hstry_ord=#instrHstryOrd#)
|
||||
|
||||
WHEN NOT MATCHED THEN
|
||||
INSERT
|
||||
(
|
||||
<include refid="VEAInstrHstryMngDAO.column_name"/>
|
||||
)
|
||||
VALUES(
|
||||
#instrHstryOrd#,
|
||||
|
||||
#userId#,
|
||||
#sbjct#,
|
||||
#cn#,
|
||||
#strtDt#,
|
||||
#ddlnDt#,
|
||||
|
||||
SYSDATE,
|
||||
#frstRegisterId#
|
||||
)
|
||||
WHEN MATCHED THEN
|
||||
UPDATE
|
||||
SET user_id = #userId#
|
||||
|
||||
, sbjct = #sbjct#
|
||||
, cn = #cn#
|
||||
, strtDt = #strtDt#
|
||||
, ddlnDt = #ddlnDt#
|
||||
, frst_regist_pnttm = SYSDATE
|
||||
, frst_register_id = #frstRegisterId#
|
||||
</insert>
|
||||
|
||||
<!-- 강사 정보 R -->
|
||||
<select id="VEAInstrHstryMngDAO.selectDetail" parameterClass="VEAStngVO" resultClass="VEAStngVO">
|
||||
SELECT
|
||||
<include refid="VEAInstrHstryMngDAO.select_column_name"/>
|
||||
FROM
|
||||
<include refid="VEAInstrHstryMngDAO.table_name"/> a
|
||||
WHERE
|
||||
a.asgnm_cd = #asgnmCd#
|
||||
|
||||
</select>
|
||||
|
||||
<!-- 강사 정보 U -->
|
||||
<update id="VEAInstrHstryMngDAO.update" parameterClass="VEAStngVO">
|
||||
/* VEAInstrHstryMngDAO.update */
|
||||
MERGE INTO <include refid="VEAInstrHstryMngDAO.table_name"/>
|
||||
USING DUAL
|
||||
ON(instr_hstry_ord=#instrHstryOrd#)
|
||||
|
||||
WHEN NOT MATCHED THEN
|
||||
INSERT
|
||||
(
|
||||
<include refid="VEAInstrHstryMngDAO.column_name"/>
|
||||
)
|
||||
VALUES(
|
||||
#instrHstryOrd#,
|
||||
|
||||
#userId#,
|
||||
#sbjct#,
|
||||
#cn#,
|
||||
#strtDt#,
|
||||
#ddlnDt#,
|
||||
|
||||
SYSDATE,
|
||||
#frstRegisterId#
|
||||
)
|
||||
WHEN MATCHED THEN
|
||||
UPDATE
|
||||
SET user_id = #userId#
|
||||
|
||||
, sbjct = #sbjct#
|
||||
, cn = #cn#
|
||||
, strtDt = #strtDt#
|
||||
, ddlnDt = #ddlnDt#
|
||||
, frst_regist_pnttm = SYSDATE
|
||||
, frst_register_id = #frstRegisterId#
|
||||
</update>
|
||||
|
||||
<!-- 강사 정보 U -->
|
||||
<!--
|
||||
<update id="VEAInstrHstryMngDAO.updateBulk" parameterClass="VEAStngVO">
|
||||
INSERT INTO <include refid="VEAInstrHstryMngDAO.table_name"/>
|
||||
(
|
||||
edu_aplct_ord,
|
||||
prcs_ord,
|
||||
|
||||
frst_regist_pnttm,
|
||||
frst_register_id
|
||||
|
||||
)
|
||||
SELECT #eduAplctOrd#,prcs_ord, SYSDATE,#lastUpdusrId#
|
||||
FROM ve_prcs_onln_cntnt
|
||||
WHERE prcs_ord=#prcsOrd#
|
||||
AND use_yn='Y'
|
||||
ON DUPLICATE KEY UPDATE
|
||||
last_updt_pnttm=SYSDATE,
|
||||
last_updusr_id=#lastUpdusrId#
|
||||
|
||||
|
||||
</update>
|
||||
-->
|
||||
|
||||
<!-- 강사 정보 D -->
|
||||
<delete id="VEAInstrHstryMngDAO.delete" parameterClass="VEAStngVO">
|
||||
DELETE FROM
|
||||
<include refid="VEAInstrHstryMngDAO.table_name"/> a
|
||||
WHERE
|
||||
a.instr_hstry_ord=#instrHstryOrd#
|
||||
|
||||
</delete>
|
||||
|
||||
<!-- 강사 정보 L -->
|
||||
<select id="VEAInstrHstryMngDAO.selectList" parameterClass="VEAStngVO" resultClass="VEAStngVO">
|
||||
/* VEAInstrHstryMngDAO.selectList */
|
||||
SELECT
|
||||
<include refid="VEAInstrHstryMngDAO.select_column_name"/>
|
||||
FROM
|
||||
<include refid="VEAInstrHstryMngDAO.table_name"/> a
|
||||
WHERE
|
||||
1=1
|
||||
|
||||
<isNotEmpty property="userId">
|
||||
AND a.user_id=#userId#
|
||||
</isNotEmpty>
|
||||
|
||||
|
||||
</select>
|
||||
|
||||
<!-- 강사 정보 L page -->
|
||||
<select id="VEAInstrHstryMngDAO.selectPagingList" parameterClass="VEAStngVO" resultClass="VEAStngVO">
|
||||
SELECT
|
||||
COUNT(1) OVER() AS totCnt ,
|
||||
<include refid="VEAInstrHstryMngDAO.select_column_name"/>
|
||||
|
||||
FROM
|
||||
<include refid="VEAInstrHstryMngDAO.table_name"/> a
|
||||
|
||||
WHERE
|
||||
1=1
|
||||
|
||||
|
||||
<isNotEmpty property="selectPagingListQuery">
|
||||
$selectPagingListQuery$
|
||||
</isNotEmpty>
|
||||
|
||||
<isNotEmpty property="userId">
|
||||
AND a.user_id=#userId#
|
||||
</isNotEmpty>
|
||||
|
||||
|
||||
|
||||
|
||||
ORDER BY 1
|
||||
|
||||
<isEmpty property="orderByQuery">
|
||||
, a.instr_hstry_ord desc
|
||||
</isEmpty>
|
||||
<isNotEmpty property="orderByQuery">
|
||||
, $orderByQuery$
|
||||
</isNotEmpty>
|
||||
|
||||
|
||||
/*
|
||||
LIMIT recordCountPerPage OFFSET firstIndex
|
||||
*/
|
||||
OFFSET #firstIndex# ROWS FETCH NEXT #recordCountPerPage# ROWS ONLY;
|
||||
|
||||
</select>
|
||||
|
||||
</sqlMap>
|
||||
@ -0,0 +1,761 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://www.ibatis.com/dtd/sql-map-2.dtd">
|
||||
<!-- 찾교 교육 결과 테이블 -->
|
||||
<sqlMap namespace="VEAInstrIndvdMntTm">
|
||||
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/>
|
||||
<typeAlias alias="VEAStngVO" type="kcc.ve.adv.tngr.stngInfo.service.VEAStngVO"/>
|
||||
|
||||
<!-- 공통 테이블 명 -->
|
||||
<sql id="VEAInstrIndvdMntTmDAO.table_name">
|
||||
vea_instr_indvd_mnt_tm
|
||||
</sql>
|
||||
|
||||
<!-- 저장용 공통 컬럼 명 -->
|
||||
<sql id="VEAInstrIndvdMntTmDAO.column_name">
|
||||
yr,
|
||||
user_id,
|
||||
|
||||
m01_ea,
|
||||
m01_tm,
|
||||
m01_regist_pnttm,
|
||||
m01_register_id,
|
||||
|
||||
m02_ea,
|
||||
m02_tm,
|
||||
m02_regist_pnttm,
|
||||
m02_register_id,
|
||||
|
||||
m03_ea,
|
||||
m03_tm,
|
||||
m03_regist_pnttm,
|
||||
m03_register_id,
|
||||
|
||||
m04_ea,
|
||||
m04_tm,
|
||||
m04_regist_pnttm,
|
||||
m04_register_id,
|
||||
|
||||
m05_ea,
|
||||
m05_tm,
|
||||
m05_regist_pnttm,
|
||||
m05_register_id,
|
||||
|
||||
m06_ea,
|
||||
m06_tm,
|
||||
m06_regist_pnttm,
|
||||
m06_register_id,
|
||||
|
||||
m07_ea,
|
||||
m07_tm,
|
||||
m07_regist_pnttm,
|
||||
m07_register_id,
|
||||
|
||||
m08_ea,
|
||||
m08_tm,
|
||||
m08_regist_pnttm,
|
||||
m08_register_id,
|
||||
|
||||
m09_ea,
|
||||
m09_tm,
|
||||
m09_regist_pnttm,
|
||||
m09_register_id,
|
||||
|
||||
m10_ea,
|
||||
m10_tm,
|
||||
m10_regist_pnttm,
|
||||
m10_register_id,
|
||||
|
||||
m11_ea,
|
||||
m11_tm,
|
||||
m11_regist_pnttm,
|
||||
m11_register_id,
|
||||
|
||||
m12_ea,
|
||||
m12_tm,
|
||||
m12_regist_pnttm,
|
||||
m12_register_id
|
||||
|
||||
</sql>
|
||||
|
||||
<!-- 조회용 공통 컬럼 명 -->
|
||||
<sql id="VEAInstrIndvdMntTmDAO.select_column_name">
|
||||
a.yr AS yr,
|
||||
a.user_id AS userId,
|
||||
|
||||
a.m01_ea AS m01Ea,
|
||||
a.m01_tm AS m01Tm,
|
||||
TO_CHAR(a.m01_regist_pnttm,'YYYY-MM-DD') AS m01RegistPnttm,
|
||||
a.m01_register_id AS m01RegisterId,
|
||||
|
||||
a.m02_ea AS m02Ea,
|
||||
a.m02_tm AS m02Tm,
|
||||
TO_CHAR(a.m02_regist_pnttm,'YYYY-MM-DD') AS m02RegistPnttm,
|
||||
a.m02_register_id AS m02RegisterId,
|
||||
|
||||
a.m03_ea AS m03Ea,
|
||||
a.m03_tm AS m03Tm,
|
||||
TO_CHAR(a.m03_regist_pnttm,'YYYY-MM-DD') AS m03RegistPnttm,
|
||||
a.m03_register_id AS m03RegisterId,
|
||||
|
||||
a.m04_ea AS m04Ea,
|
||||
a.m04_tm AS m04Tm,
|
||||
TO_CHAR(a.m04_regist_pnttm,'YYYY-MM-DD') AS m04RegistPnttm,
|
||||
a.m04_register_id AS m04RegisterId,
|
||||
|
||||
a.m05_ea AS m05Ea,
|
||||
a.m05_tm AS m05Tm,
|
||||
TO_CHAR(a.m05_regist_pnttm,'YYYY-MM-DD') AS m05RegistPnttm,
|
||||
a.m05_register_id AS m05RegisterId,
|
||||
|
||||
a.m06_ea AS m06Ea,
|
||||
a.m06_tm AS m06Tm,
|
||||
TO_CHAR(a.m06_regist_pnttm,'YYYY-MM-DD') AS m06RegistPnttm,
|
||||
a.m06_register_id AS m06RegisterId,
|
||||
|
||||
a.m07_ea AS m07Ea,
|
||||
a.m07_tm AS m07Tm,
|
||||
TO_CHAR(a.m07_regist_pnttm,'YYYY-MM-DD') AS m07RegistPnttm,
|
||||
a.m07_register_id AS m07RegisterId,
|
||||
|
||||
a.m08_ea AS m08Ea,
|
||||
a.m08_tm AS m08Tm,
|
||||
TO_CHAR(a.m08_regist_pnttm,'YYYY-MM-DD') AS m08RegistPnttm,
|
||||
a.m08_register_id AS m08RegisterId,
|
||||
|
||||
a.m09_ea AS m09Ea,
|
||||
a.m09_tm AS m09Tm,
|
||||
TO_CHAR(a.m09_regist_pnttm,'YYYY-MM-DD') AS m09RegistPnttm,
|
||||
a.m09_register_id AS m09RegisterId,
|
||||
|
||||
a.m10_ea AS m10Ea,
|
||||
a.m10_tm AS m10Tm,
|
||||
TO_CHAR(a.m10_regist_pnttm,'YYYY-MM-DD') AS m10RegistPnttm,
|
||||
a.m10_register_id AS m10RegisterId,
|
||||
|
||||
a.m11_ea AS m11Ea,
|
||||
a.m11_tm AS m11Tm,
|
||||
TO_CHAR(a.m11_regist_pnttm,'YYYY-MM-DD') AS m11RegistPnttm,
|
||||
a.m11_register_id AS m11RegisterId,
|
||||
|
||||
a.m12_ea AS m12Ea,
|
||||
a.m12_tm AS m12Tm,
|
||||
TO_CHAR(a.m12_regist_pnttm,'YYYY-MM-DD') AS m12RegistPnttm,
|
||||
a.m12_register_id AS m12RegisterId
|
||||
|
||||
</sql>
|
||||
|
||||
<!-- 강사 등록 C -->
|
||||
<insert id="VEAInstrIndvdMntTmDAO.insert" parameterClass="VEAStngVO">
|
||||
/* VEAInstrIndvdMntTmDAO.insert */
|
||||
MERGE INTO <include refid="VEAInstrIndvdMntTmDAO.table_name"/>
|
||||
USING DUAL
|
||||
ON(yr=#yr# AND user_id=#userId#)
|
||||
|
||||
WHEN NOT MATCHED THEN
|
||||
INSERT
|
||||
(
|
||||
<include refid="VEAInstrIndvdMntTmDAO.column_name"/>
|
||||
)
|
||||
VALUES(
|
||||
#yr#,
|
||||
#userId#,
|
||||
|
||||
|
||||
#m01Ea#,
|
||||
#m01Tm#,
|
||||
|
||||
<isNotEmpty property="m01RegisterId">
|
||||
SYSDATE,
|
||||
</isNotEmpty><isEmpty property="m01RegisterId">
|
||||
NULL,
|
||||
</isEmpty>
|
||||
|
||||
#m01RegisterId#,
|
||||
|
||||
|
||||
#m02Ea#,
|
||||
#m02Tm#,
|
||||
|
||||
<isNotEmpty property="m02RegisterId">
|
||||
SYSDATE,
|
||||
</isNotEmpty><isEmpty property="m02RegisterId">
|
||||
NULL,
|
||||
</isEmpty>
|
||||
|
||||
#m02RegisterId#,
|
||||
|
||||
#m03Ea#,
|
||||
#m03Tm#,
|
||||
<isNotEmpty property="m03RegisterId">
|
||||
SYSDATE,
|
||||
</isNotEmpty><isEmpty property="m03RegisterId">
|
||||
NULL,
|
||||
</isEmpty>
|
||||
#m03RegisterId#,
|
||||
|
||||
#m04Ea#,
|
||||
#m04Tm#,
|
||||
<isNotEmpty property="m04RegisterId">
|
||||
SYSDATE,
|
||||
</isNotEmpty><isEmpty property="m04RegisterId">
|
||||
NULL,
|
||||
</isEmpty>
|
||||
#m04RegisterId#,
|
||||
|
||||
#m05Ea#,
|
||||
#m05Tm#,
|
||||
<isNotEmpty property="m05RegisterId">
|
||||
SYSDATE,
|
||||
</isNotEmpty><isEmpty property="m05RegisterId">
|
||||
NULL,
|
||||
</isEmpty>
|
||||
#m05RegisterId#,
|
||||
|
||||
#m06Ea#,
|
||||
#m06Tm#,
|
||||
<isNotEmpty property="m06RegisterId">
|
||||
SYSDATE,
|
||||
</isNotEmpty><isEmpty property="m06RegisterId">
|
||||
NULL,
|
||||
</isEmpty>
|
||||
#m06RegisterId#,
|
||||
|
||||
#m07Ea#,
|
||||
#m07Tm#,
|
||||
<isNotEmpty property="m07RegisterId">
|
||||
SYSDATE,
|
||||
</isNotEmpty><isEmpty property="m07RegisterId">
|
||||
NULL,
|
||||
</isEmpty>
|
||||
#m07RegisterId#,
|
||||
|
||||
#m08Ea#,
|
||||
#m08Tm#,
|
||||
<isNotEmpty property="m08RegisterId">
|
||||
SYSDATE,
|
||||
</isNotEmpty><isEmpty property="m08RegisterId">
|
||||
NULL,
|
||||
</isEmpty>
|
||||
#m08RegisterId#,
|
||||
|
||||
#m09Ea#,
|
||||
#m09Tm#,
|
||||
<isNotEmpty property="m09RegisterId">
|
||||
SYSDATE,
|
||||
</isNotEmpty><isEmpty property="m09RegisterId">
|
||||
NULL,
|
||||
</isEmpty>
|
||||
#m09RegisterId#,
|
||||
|
||||
#m10Ea#,
|
||||
#m10Tm#,
|
||||
<isNotEmpty property="m10RegisterId">
|
||||
SYSDATE,
|
||||
</isNotEmpty><isEmpty property="m10RegisterId">
|
||||
NULL,
|
||||
</isEmpty>
|
||||
#m10RegisterId#,
|
||||
|
||||
#m11Ea#,
|
||||
#m11Tm#,
|
||||
<isNotEmpty property="m11RegisterId">
|
||||
SYSDATE,
|
||||
</isNotEmpty><isEmpty property="m11RegisterId">
|
||||
NULL,
|
||||
</isEmpty>
|
||||
#m11RegisterId#,
|
||||
|
||||
#m12Ea#,
|
||||
#m12Tm#,
|
||||
<isNotEmpty property="m12RegisterId">
|
||||
SYSDATE,
|
||||
</isNotEmpty><isEmpty property="m12RegisterId">
|
||||
NULL,
|
||||
</isEmpty>
|
||||
#m12RegisterId#
|
||||
|
||||
|
||||
)
|
||||
WHEN MATCHED THEN
|
||||
UPDATE
|
||||
SET
|
||||
|
||||
<isNotEmpty property="m01Ea">
|
||||
m01_ea=#m01Ea#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m01Tm">
|
||||
, m01_tm=#m01Tm#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m01RegisterId">
|
||||
, m01_register_id=#m01RegisterId#
|
||||
, m01_regist_pnttm=SYSDATE
|
||||
|
||||
</isNotEmpty>
|
||||
|
||||
|
||||
<isNotEmpty property="m02Ea">
|
||||
m02_ea=#m02Ea#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m02Tm">
|
||||
, m02_tm=#m02Tm#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m02RegisterId">
|
||||
, m02_register_id=#m02RegisterId#
|
||||
, m02_regist_pnttm=SYSDATE
|
||||
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m03Ea">
|
||||
m03_ea=#m03Ea#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m03Tm">
|
||||
, m03_tm=#m03Tm#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m03RegisterId">
|
||||
, m03_register_id=#m03RegisterId#
|
||||
, m03_regist_pnttm=SYSDATE
|
||||
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m04Ea">
|
||||
m04_ea=#m04Ea#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m04Tm">
|
||||
, m04_tm=#m04Tm#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m04RegisterId">
|
||||
, m04_register_id=#m04RegisterId#
|
||||
, m04_regist_pnttm=SYSDATE
|
||||
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m05Ea">
|
||||
m05_ea=#m05Ea#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m05Tm">
|
||||
, m05_tm=#m05Tm#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m05RegisterId">
|
||||
, m05_register_id=#m05RegisterId#
|
||||
, m05_regist_pnttm=SYSDATE
|
||||
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m06Ea">
|
||||
m06_ea=#m06Ea#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m06Tm">
|
||||
, m06_tm=#m06Tm#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m06RegisterId">
|
||||
, m06_register_id=#m06RegisterId#
|
||||
, m06_regist_pnttm=SYSDATE
|
||||
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m07Ea">
|
||||
m07_ea=#m07Ea#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m07Tm">
|
||||
, m07_tm=#m07Tm#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m07RegisterId">
|
||||
, m07_register_id=#m07RegisterId#
|
||||
, m07_regist_pnttm=SYSDATE
|
||||
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m08Ea">
|
||||
m08_ea=#m08Ea#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m08Tm">
|
||||
, m08_tm=#m08Tm#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m08RegisterId">
|
||||
, m08_register_id=#m08RegisterId#
|
||||
, m08_regist_pnttm=SYSDATE
|
||||
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m09Ea">
|
||||
m09_ea=#m09Ea#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m09Tm">
|
||||
, m09_tm=#m09Tm#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m09RegisterId">
|
||||
, m09_register_id=#m09RegisterId#
|
||||
, m09_regist_pnttm=SYSDATE
|
||||
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m10Ea">
|
||||
m10_ea=#m10Ea#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m10Tm">
|
||||
, m10_tm=#m10Tm#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m10RegisterId">
|
||||
, m10_register_id=#m10RegisterId#
|
||||
, m10_regist_pnttm=SYSDATE
|
||||
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m11Ea">
|
||||
m11_ea=#m11Ea#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m11Tm">
|
||||
, m11_tm=#m11Tm#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m11RegisterId">
|
||||
, m11_register_id=#m11RegisterId#
|
||||
, m11_regist_pnttm=SYSDATE
|
||||
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m12Ea">
|
||||
m12_ea=#m12Ea#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m12Tm">
|
||||
, m12_tm=#m12Tm#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m12RegisterId">
|
||||
, m12_register_id=#m12RegisterId#
|
||||
, m12_regist_pnttm=SYSDATE
|
||||
|
||||
|
||||
</isNotEmpty>
|
||||
</insert>
|
||||
|
||||
<!-- 강사 정보 R -->
|
||||
<select id="VEAInstrIndvdMntTmDAO.selectDetail" parameterClass="VEAStngVO" resultClass="VEAStngVO">
|
||||
SELECT
|
||||
<include refid="VEAInstrIndvdMntTmDAO.select_column_name"/>
|
||||
FROM
|
||||
<include refid="VEAInstrIndvdMntTmDAO.table_name"/> a
|
||||
WHERE
|
||||
a.yr = #yr#
|
||||
AND a.user_id = #userId#
|
||||
|
||||
</select>
|
||||
|
||||
<!-- 강사 정보 U -->
|
||||
<update id="VEAInstrIndvdMntTmDAO.update" parameterClass="VEAStngVO">
|
||||
/* VEAInstrIndvdMntTmDAO.update */
|
||||
MERGE INTO <include refid="VEAInstrIndvdMntTmDAO.table_name"/>
|
||||
USING DUAL
|
||||
ON(yr=#yr# AND userId=#user_id#)
|
||||
|
||||
WHEN NOT MATCHED THEN
|
||||
INSERT
|
||||
(
|
||||
<include refid="VEAInstrIndvdMntTmDAO.column_name"/>
|
||||
)
|
||||
VALUES(
|
||||
#yr#,
|
||||
#user_id#,
|
||||
|
||||
|
||||
#m01Ea#,
|
||||
#m01Tm#,
|
||||
SYSDATE,
|
||||
#m01RegisterId#,
|
||||
|
||||
#m02Ea#,
|
||||
#m02Tm#,
|
||||
SYSDATE,
|
||||
#m02RegisterId#,
|
||||
|
||||
#m03Ea#,
|
||||
#m03Tm#,
|
||||
SYSDATE,
|
||||
#m03RegisterId#,
|
||||
|
||||
#m04Ea#,
|
||||
#m04Tm#,
|
||||
SYSDATE,
|
||||
#m04RegisterId#,
|
||||
|
||||
#m05Ea#,
|
||||
#m05m#,
|
||||
SYSDATE,
|
||||
#m05RegisterId#,
|
||||
|
||||
#m06Ea#,
|
||||
#m06m#,
|
||||
SYSDATE,
|
||||
#m06RegisterId#,
|
||||
|
||||
#m07Ea#,
|
||||
#m07m#,
|
||||
SYSDATE,
|
||||
#m07RegisterId#,
|
||||
|
||||
#m08Ea#,
|
||||
#m08m#,
|
||||
SYSDATE,
|
||||
#m08RegisterId#,
|
||||
|
||||
#m09Ea#,
|
||||
#m09m#,
|
||||
SYSDATE,
|
||||
#m09RegisterId#,
|
||||
|
||||
#m10Ea#,
|
||||
#m10m#,
|
||||
SYSDATE,
|
||||
#m10RegisterId#,
|
||||
|
||||
#m11Ea#,
|
||||
#m11m#,
|
||||
SYSDATE,
|
||||
#m11RegisterId#,
|
||||
|
||||
#m12Ea#,
|
||||
#m12m#,
|
||||
SYSDATE,
|
||||
#m12RegisterId#
|
||||
|
||||
|
||||
)
|
||||
WHEN MATCHED THEN
|
||||
UPDATE
|
||||
SET user_id = #userId#
|
||||
|
||||
<isNotEmpty property="m01Ea">
|
||||
, m01_ea=#m01Ea#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m01Tm">
|
||||
, m01_tm=#m01Tm#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m01RegisterId">
|
||||
, m01_register_id=#m01RegisterId#
|
||||
, m01_regist_pnttm=SYSDATE
|
||||
|
||||
</isNotEmpty>
|
||||
|
||||
|
||||
<isNotEmpty property="m02Ea">
|
||||
, m02_ea=#m02Ea#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m02Tm">
|
||||
, m02_tm=#m02Tm#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m02RegisterId">
|
||||
, m02_register_id=#m02RegisterId#
|
||||
, m02_regist_pnttm=SYSDATE
|
||||
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m03Ea">
|
||||
, m03_ea=#m03Ea#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m03Tm">
|
||||
, m03_tm=#m03Tm#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m03RegisterId">
|
||||
, m03_register_id=#m03RegisterId#
|
||||
, m03_regist_pnttm=SYSDATE
|
||||
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m04Ea">
|
||||
, m04_ea=#m04Ea#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m04Tm">
|
||||
, m04_tm=#m04Tm#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m04RegisterId">
|
||||
, m04_register_id=#m04RegisterId#
|
||||
, m04_regist_pnttm=SYSDATE
|
||||
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m05Ea">
|
||||
, m05_ea=#m05Ea#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m05Tm">
|
||||
, m05_tm=#m05Tm#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m05RegisterId">
|
||||
, m05_register_id=#m05RegisterId#
|
||||
, m05_regist_pnttm=SYSDATE
|
||||
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m06Ea">
|
||||
, m06_ea=#m06Ea#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m06Tm">
|
||||
, m06_tm=#m06Tm#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m06RegisterId">
|
||||
, m06_register_id=#m06RegisterId#
|
||||
, m06_regist_pnttm=SYSDATE
|
||||
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m07Ea">
|
||||
, m07_ea=#m07Ea#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m07Tm">
|
||||
, m07_tm=#m07Tm#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m07RegisterId">
|
||||
, m07_register_id=#m07RegisterId#
|
||||
, m07_regist_pnttm=SYSDATE
|
||||
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m08Ea">
|
||||
, m08_ea=#m08Ea#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m08Tm">
|
||||
, m08_tm=#m08Tm#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m08RegisterId">
|
||||
, m08_register_id=#m08RegisterId#
|
||||
, m08_regist_pnttm=SYSDATE
|
||||
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m09Ea">
|
||||
, m09_ea=#m09Ea#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m09Tm">
|
||||
, m09_tm=#m09Tm#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m09RegisterId">
|
||||
, m09_register_id=#m09RegisterId#
|
||||
, m09_regist_pnttm=SYSDATE
|
||||
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m10Ea">
|
||||
, m10_ea=#m10Ea#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m10Tm">
|
||||
, m10_tm=#m10Tm#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m10RegisterId">
|
||||
, m10_register_id=#m10RegisterId#
|
||||
, m10_regist_pnttm=SYSDATE
|
||||
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m11Ea">
|
||||
, m11_ea=#m11Ea#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m11Tm">
|
||||
, m11_tm=#m11Tm#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m11RegisterId">
|
||||
, m11_register_id=#m11RegisterId#
|
||||
, m11_regist_pnttm=SYSDATE
|
||||
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m12Ea">
|
||||
, m12_ea=#m12Ea#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m12Tm">
|
||||
, m12_tm=#m12Tm#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="m12RegisterId">
|
||||
, m12_register_id=#m12RegisterId#
|
||||
, m12_regist_pnttm=SYSDATE
|
||||
|
||||
|
||||
</isNotEmpty>
|
||||
|
||||
</update>
|
||||
|
||||
<!-- 강사 정보 U -->
|
||||
<!--
|
||||
<update id="VEAInstrIndvdMntTmDAO.updateBulk" parameterClass="VEAStngVO">
|
||||
INSERT INTO <include refid="VEAInstrIndvdMntTmDAO.table_name"/>
|
||||
(
|
||||
edu_aplct_ord,
|
||||
prcs_ord,
|
||||
|
||||
frst_regist_pnttm,
|
||||
frst_register_id
|
||||
|
||||
)
|
||||
SELECT #eduAplctOrd#,prcs_ord, SYSDATE,#lastUpdusrId#
|
||||
FROM ve_prcs_onln_cntnt
|
||||
WHERE prcs_ord=#prcsOrd#
|
||||
AND use_yn='Y'
|
||||
ON DUPLICATE KEY UPDATE
|
||||
last_updt_pnttm=SYSDATE,
|
||||
last_updusr_id=#lastUpdusrId#
|
||||
|
||||
|
||||
</update>
|
||||
-->
|
||||
|
||||
<!-- 강사 정보 D -->
|
||||
<delete id="VEAInstrIndvdMntTmDAO.delete" parameterClass="VEAStngVO">
|
||||
DELETE FROM
|
||||
<include refid="VEAInstrIndvdMntTmDAO.table_name"/> a
|
||||
WHERE
|
||||
a.yr = #yr#
|
||||
AND a.user_id = #userId#
|
||||
|
||||
</delete>
|
||||
|
||||
<!-- 강사 정보 L -->
|
||||
<select id="VEAInstrIndvdMntTmDAO.selectList" parameterClass="VEAStngVO" resultClass="VEAStngVO">
|
||||
/* VEAInstrIndvdMntTmDAO.selectList */
|
||||
SELECT
|
||||
<include refid="VEAInstrIndvdMntTmDAO.select_column_name"/>
|
||||
FROM
|
||||
<include refid="VEAInstrIndvdMntTmDAO.table_name"/> a
|
||||
WHERE
|
||||
1=1
|
||||
|
||||
<isNotEmpty property="yr">
|
||||
AND a.yr=#yr#
|
||||
</isNotEmpty>
|
||||
|
||||
<isNotEmpty property="userId">
|
||||
AND a.user_id=#userId#
|
||||
</isNotEmpty>
|
||||
|
||||
</select>
|
||||
|
||||
<!-- 강사 정보 L page -->
|
||||
<select id="VEAInstrIndvdMntTmDAO.selectPagingList" parameterClass="VEAStngVO" resultClass="VEAStngVO">
|
||||
SELECT
|
||||
COUNT(1) OVER() AS totCnt ,
|
||||
<include refid="VEAInstrIndvdMntTmDAO.select_column_name"/>
|
||||
|
||||
FROM
|
||||
<include refid="VEAInstrIndvdMntTmDAO.table_name"/> a
|
||||
|
||||
WHERE
|
||||
1=1
|
||||
|
||||
|
||||
<isNotEmpty property="selectPagingListQuery">
|
||||
$selectPagingListQuery$
|
||||
</isNotEmpty>
|
||||
|
||||
<isNotEmpty property="yr">
|
||||
AND a.yr=#yr#
|
||||
</isNotEmpty>
|
||||
|
||||
<isNotEmpty property="userId">
|
||||
AND a.user_id=#userId#
|
||||
</isNotEmpty>
|
||||
|
||||
|
||||
|
||||
|
||||
ORDER BY 1
|
||||
|
||||
<isEmpty property="orderByQuery">
|
||||
, a.yr desc
|
||||
, a.user_id asc
|
||||
</isEmpty>
|
||||
<isNotEmpty property="orderByQuery">
|
||||
, $orderByQuery$
|
||||
</isNotEmpty>
|
||||
|
||||
|
||||
/*
|
||||
LIMIT recordCountPerPage OFFSET firstIndex
|
||||
*/
|
||||
OFFSET #firstIndex# ROWS FETCH NEXT #recordCountPerPage# ROWS ONLY;
|
||||
|
||||
</select>
|
||||
|
||||
<!-- 강사 정보 D -->
|
||||
<update id="VEAInstrIndvdMntTmDAO.delete_query" parameterClass="VEAStngVO">
|
||||
UPDATE <include refid="VEAInstrIndvdMntTmDAO.table_name"/> a
|
||||
$setQuery$
|
||||
WHERE
|
||||
a.yr = #yr#
|
||||
|
||||
</update>
|
||||
</sqlMap>
|
||||
@ -494,7 +494,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
//회차관리 팝업
|
||||
//회차관리 팝업
|
||||
function fncRndsStng() {
|
||||
var p_stngYr = $("#listForm #stngYr").val();
|
||||
|
||||
|
||||
@ -220,7 +220,7 @@
|
||||
</th>
|
||||
<td class="input_phone attachedFile_wrap">
|
||||
<input type="text" readonly id="atFileBasicWrite" style="width:500px;" name="atFileBasicWrite"/>
|
||||
<input type="file" name="file" id="file" style="display:none" accept=".txt, .xls, .xlsx" onchange="changeValue(this); return false;"/>
|
||||
<input type="file" name="file" id="file" style="display:none" accept=".xls, .xlsx" onchange="changeValue(this); return false;"/>
|
||||
<button type="button" class="btnType btnType9" onclick="document.all.file.click(); return false;">파일첨부</button>
|
||||
<span class="reqTxt6">※ 컴퓨터 파일(엑셀)만 등록 가능합니다.<a href="https://www.copyright.or.kr/offedu/cmm/fms/FileDown.do?atchFileId=FILE_000000000018230&fileSn=0" target="_blank">sample</a></span>
|
||||
</td>
|
||||
|
||||
@ -22,7 +22,6 @@
|
||||
<%@ taglib prefix="un" uri="http://jakarta.apache.org/taglibs/unstandard-1.0" %>
|
||||
<%@ taglib prefix="ve" uri="/WEB-INF/tlds/kcc_tld.tld"%>
|
||||
<un:useConstants var="KccadrStatus" className="kcc.kccadr.cmm.KccadrConstants" />
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
@ -344,7 +343,7 @@
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// 패널티 삭제
|
||||
function fnPnltyDelete(p_pnlty_ord) {
|
||||
|
||||
@ -373,6 +372,59 @@
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// 강사이력 등록팝업
|
||||
function fnInstrHstryInsert() {
|
||||
|
||||
/*
|
||||
var p_stngYr = $("#listForm #stngYr").val();
|
||||
|
||||
if(p_stngYr==''){
|
||||
alert("회차관리 대상 년도를 선택해주세요.");
|
||||
return false;
|
||||
}
|
||||
document.listForm.yr.value = p_stngYr;
|
||||
*/
|
||||
|
||||
//document.listForm.authorCode.value = vAuthorCode;
|
||||
//document.listForm.action = "<c:url value='/kccadr/oprtn/tngrVisitEdu/popup/advRndsStngMngPopup.do'/>";
|
||||
document.listForm.action = "<c:url value='/kccadr/oprtn/tngrVisitEdu/popup/instrHstryMngPopup.do'/>";
|
||||
window.open("#", "_instrHstryMngPop", "scrollbars = no, top=100px, left=100px, height=800px, width=1000px");
|
||||
document.listForm.target = "_instrHstryMngPop";
|
||||
document.listForm.submit();
|
||||
|
||||
}
|
||||
|
||||
// 강사이력 삭제
|
||||
function fnInstrHstryDelete(p_pnlty_ord) {
|
||||
|
||||
$("#listForm #pnltyOrd").val(p_pnlty_ord);
|
||||
|
||||
var data1 = new FormData(document.getElementById("listForm"));
|
||||
if(confirm("해당 이력을 삭제하시겠습니까?)")){
|
||||
$.ajax({
|
||||
type:"POST",
|
||||
url: "${pageContext.request.contextPath}/kccadr/oprtn/tngrVisitEdu/popup/instrHstryDelAjax.do",
|
||||
data: data1,
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: false,
|
||||
cache: false,
|
||||
success:function(returnData){
|
||||
if(returnData.result == 'success'){
|
||||
alert("삭제 되었습니다.");
|
||||
location.reload();
|
||||
}
|
||||
},
|
||||
error:function(request , status, error){
|
||||
alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
@ -403,6 +455,10 @@
|
||||
<input type="hidden" name="qlfctEndYn" id="qlfctEndYn" value=""/> <!-- 자격종료여부 -->
|
||||
<input type="hidden" name="stngYrMnt" id="stngYrMnt" value="202202"/><!-- 강사구분 -->
|
||||
<!-- cont -->
|
||||
|
||||
<!-- 팝업을 위한 mask -->
|
||||
<div class="mask2" onclick="timeLayerUtil()"></div>
|
||||
|
||||
<div class="cont_wrap">
|
||||
<div class="box">
|
||||
<!-- cont_tit -->
|
||||
@ -623,13 +679,25 @@
|
||||
</div>
|
||||
<div class="btn_wrap btn_layout01">
|
||||
<div class="btn_left">
|
||||
<c:if test="${info.qlfctEndYn eq 'Y'}">
|
||||
<button type="button" class="btn_type02" onclick="fncSave('N'); return false;">강사위촉</button>
|
||||
</c:if>
|
||||
<c:if test="${info.qlfctEndYn ne 'Y'}">
|
||||
<button type="button" class="btn_type02" onclick="fncSave('Y'); return false;">강사해촉</button>
|
||||
</c:if>
|
||||
</div>
|
||||
<div class="btn_center">
|
||||
</div>
|
||||
<div class="btn_right">
|
||||
<button type="button" class="btn_type02" onclick="fncUpdate(); return false;">정보저장</button>
|
||||
|
||||
|
||||
<button type="button" class="btn_type03" onclick="fncGoList(); return false;">목록</button>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- 비공개 메보 정보 -->
|
||||
<div class="tb_tit01">
|
||||
<p>비공개 메모</p>
|
||||
@ -760,6 +828,7 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="tb_tit01">
|
||||
<p>패널티 목록</p>
|
||||
@ -782,7 +851,7 @@
|
||||
<th scope="col">교육일자</th>
|
||||
<th scope="col">학교명</th>
|
||||
<th scope="col">교육차시</th>
|
||||
<th scope="col">삭제</th>
|
||||
<th scope="col">삭제</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
@ -821,7 +890,6 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="btn_wrap btn_layout01">
|
||||
<div class="btn_left" style="width:60%;">
|
||||
<ve:select codeId="VE0016" name="pnltyCd1" id="pnltyCd1" css="class='sel_type1'" />
|
||||
@ -829,15 +897,136 @@
|
||||
<button type="button" class="btn_type04" onclick="fnPnltyInsert(); return false;">패널티 등록</button>
|
||||
</div>
|
||||
<div class="btn_right">
|
||||
<c:if test="${info.qlfctEndYn eq 'Y'}">
|
||||
<button type="button" class="btn_type02" onclick="fncSave('N'); return false;">강사위촉</button>
|
||||
</c:if>
|
||||
<c:if test="${info.qlfctEndYn ne 'Y'}">
|
||||
<button type="button" class="btn_type02" onclick="fncSave('Y'); return false;">강사해촉</button>
|
||||
</c:if>
|
||||
<button type="button" class="btn_type03" onclick="fncGoList(); return false;">목록</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="btn_wrap btn_layout01">
|
||||
<div class="btn_left" style="width:60%;">
|
||||
</div>
|
||||
<div class="btn_right">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="tb_tit01">
|
||||
<p>이력관리</p>
|
||||
</div>
|
||||
<div class="tb_type01">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width: 18%;">
|
||||
<col style="width: 18%;">
|
||||
<col style="width: 18%;">
|
||||
<col style="width: 18%;">
|
||||
<col style="width: 18%;">
|
||||
<col style="width: 10%;">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">교육명</th>
|
||||
<th scope="col">교육기간</th>
|
||||
|
||||
<th scope="col">비고</th>
|
||||
<th scope="col">등록자</th>
|
||||
<th scope="col">등록일</th>
|
||||
<th scope="col">삭제</th>
|
||||
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:forEach var="pList" items="${pnltyList}" varStatus="status">
|
||||
<tr>
|
||||
<td><c:out value="${pList.frstRegistPnttm}" /></td>
|
||||
<td><ve:code codeId="VE0016" code="${pList.pnltyCd}"/></td>
|
||||
|
||||
<c:choose>
|
||||
<c:when test="${pList.scholInsttNm eq '' or pList.scholInsttNm eq null}">
|
||||
<td colspan="3"><c:out value="${pList.memoCn}" /></td>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<td><c:out value="${pList.eduHopeDt}" /></td>
|
||||
<td><c:out value="${pList.scholInsttNm}" /></td>
|
||||
<td>
|
||||
<fmt:parseDate value="${pList.strtTm}" var="strtTm" pattern="kkmm"/><fmt:formatDate value="${strtTm}" pattern="kk:mm"/>
|
||||
~<fmt:parseDate value="${pList.endTm}" var="endTm" pattern="kkmm"/><fmt:formatDate value="${endTm}" pattern="kk:mm"/>
|
||||
(<c:out value="${pList.lrnTm}"/>분)
|
||||
</td>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
<td>
|
||||
<button type="button" class="btn_type04" onclick="fnPnltyDelete('<c:out value="${pList.pnltyOrd}" />'); return false;">삭제</button>
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
</tr>
|
||||
</c:forEach>
|
||||
<c:if test="${empty pnltyList}">
|
||||
<tr><td colspan="5"><spring:message code="common.nodata.msg" /></td></tr>
|
||||
</c:if>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tb_type01">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width: 18%;">
|
||||
<col style="width: 34%;">
|
||||
<col style="width: 48%;">
|
||||
<col style="width: 10%;">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">교육명</th>
|
||||
<th scope="col">교육기간</th>
|
||||
|
||||
<th scope="col">비고</th>
|
||||
<th scope="col">등록</th>
|
||||
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<input type="text" name="hstrySbjct" id="hstrySbjct" size="20" maxlength="100" placeholder="" value="">
|
||||
</td>
|
||||
<td>
|
||||
<div class="util_right">
|
||||
<div class="calendar_wrap">
|
||||
<input type="text" class="calendar" title="시작일 선택" id="rgstrStrtPnttm_dt"
|
||||
name="rgstrStrtPnttm_dt">
|
||||
</div>
|
||||
~
|
||||
<div class="calendar_wrap">
|
||||
<input type="text" class="calendar" title="종료일 선택" id="rgstrDdlnPnttm_dt"
|
||||
name="rgstrDdlnPnttm_dt">
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="hstryCn" id="hstryCn" size="60" maxlength="100" placeholder="" value="">
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<button type="button" class="btn_type04" onclick="fnInstrHstryInsert(); return false;">이력 등록</button>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="btn_wrap btn_layout01">
|
||||
<div class="btn_left" style="width:60%;">
|
||||
</div>
|
||||
<div class="btn_right">
|
||||
<button type="button" class="btn_type04" onclick="fnInstrHstryInsert(); return false;">이력 등록</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -0,0 +1,618 @@
|
||||
<!DOCTYPE html>
|
||||
<%@ 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="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
|
||||
<%
|
||||
/**
|
||||
* @Class Name : instrHstryMngPopup.jsp
|
||||
* @Description : 강사이력관리 팝업
|
||||
* @Modification Information
|
||||
* @
|
||||
* @ 수정일 수정자 수정내용
|
||||
* @ ------- -------- ---------------------------
|
||||
* @ 2021.08.09 김봉호 최초 생성
|
||||
* @author 김봉호
|
||||
* @since 2021.08.21
|
||||
* @version 1.0
|
||||
* @see
|
||||
*
|
||||
*/
|
||||
%>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
|
||||
<link rel="stylesheet" href="${pageContext.request.contextPath}/visitEdu/adm/publish/datepicker/classic.css">
|
||||
<link rel="stylesheet" href="${pageContext.request.contextPath}/visitEdu/adm/publish/datepicker/classic.date.css">
|
||||
|
||||
<script src="${pageContext.request.contextPath}/visitEdu/adm/publish/datepicker/picker.js"></script>
|
||||
<script src="${pageContext.request.contextPath}/visitEdu/adm/publish/datepicker/picker.date.js"></script>
|
||||
<script src="${pageContext.request.contextPath}/visitEdu/adm/publish/datepicker/legacy.js"></script>
|
||||
<script src="${pageContext.request.contextPath}/visitEdu/adm/publish/datepicker/ko_KR.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
</script>
|
||||
<title>신청반려팝업</title>
|
||||
<script type="text/javaScript" language="javascript">
|
||||
|
||||
$(document).ready(function(){
|
||||
var mode = '${adjReqMgrVO.mode}';
|
||||
if(mode == "D"){
|
||||
$("input[type=checkbox],textarea").not("textarea[name=rejtReson]").attr("disabled" , true);
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
function fncAprooval(){
|
||||
var msg = "강의가능시간 변경";
|
||||
|
||||
var data1 = new FormData(document.getElementById("createForm"));
|
||||
|
||||
//console.log(data);
|
||||
console.log(data1);
|
||||
|
||||
if (confirm(msg+" 하시겠습니까?")) {
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "${pageContext.request.contextPath}/kccadr/oprtn/tngrVisitEdu/popup/areaLctrMngLctrPsblTmPopupAjax.do",
|
||||
//data: JSON.stringify(data),
|
||||
data: data1,
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: false,
|
||||
cache: false,
|
||||
success: function (returnData, status) {
|
||||
console.log(returnData.rs);
|
||||
if(returnData.result == 'success'){
|
||||
alert("정상적으로 "+ msg +" 되었습니다.");
|
||||
opener.location.reload();
|
||||
self.close();
|
||||
}else{
|
||||
alert(returnData.message);
|
||||
}
|
||||
},
|
||||
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function validationForm(data){
|
||||
/*
|
||||
var len = $("input[type='checkbox']:checked").length;
|
||||
|
||||
if (len <= 0) {
|
||||
alert("보완요청항목을 선택해주세요.");
|
||||
return false;
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
if ($("[name='aprvlCn']").val() == '') {
|
||||
alert("사유를 입력해주세요.");
|
||||
return false;
|
||||
}
|
||||
|
||||
/*
|
||||
if ($("[name='adrSeq']").val() == '') {
|
||||
alert("신청번호가 없습니다. 관리자에게 문의해주세요.");
|
||||
return false;
|
||||
}
|
||||
*/
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
function fncGoEdit(){
|
||||
var createForm = document.createForm ;
|
||||
createForm.mode.value = "C";
|
||||
createForm.action = "<c:url value='/kccadr/adjReqMgr/popup/adjReqMgrRegSecurityPopup.do'/>";
|
||||
createForm.submit();
|
||||
}
|
||||
|
||||
function fncStatusUpdate(confirmYn){
|
||||
var msg = "승인";
|
||||
var data = {};
|
||||
data.adrSeq = '${security.adrSeq}';
|
||||
data.edtSn = '${security.edtSn}';
|
||||
data.apprYn = 'Y';
|
||||
data.rejtReson = $("#rejtReson").val();
|
||||
//data.statCd = '010100'; // 작성중 상태로 변경
|
||||
if(confirmYn == "N"){
|
||||
data.apprYn = 'N'; // 미승인 상태
|
||||
msg = "반려";
|
||||
}
|
||||
|
||||
if (confirm(msg+" 하시겠습니까?")) {
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/kccadr/adjReqMgr/popup/adjReqMgrRegSecurityStatusChange.do",
|
||||
data: JSON.stringify(data),
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: "application/json",
|
||||
cache: false,
|
||||
success: function (returnData, status) {
|
||||
console.log(returnData.rs);
|
||||
if(returnData.result == 'SUCCESS'){
|
||||
alert("정상적으로 "+ msg +" 되었습니다.");
|
||||
opener.location.reload();
|
||||
self.close();
|
||||
}else{
|
||||
alert(returnData.message);
|
||||
}
|
||||
},
|
||||
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function fncPopClose(){
|
||||
self.close();
|
||||
}
|
||||
|
||||
//회차관리 변경
|
||||
function fncRndsSave(thisObj){
|
||||
//alert($("#ord_1").val());
|
||||
//alert($(thisObj).closest("td"));
|
||||
//alert($(thisObj).closest("td").find("input[name=ord_1]").length);
|
||||
var p_ord = $(thisObj).closest("td").find("input[name=ord_1]").val();
|
||||
|
||||
var p_rgstrStrtPnttm_dt = $(thisObj).closest("td").find("input[name=rgstrStrtPnttm_dt]").val();
|
||||
var p_rgstrStrtPnttm_tm = $(thisObj).closest("td").find("input[name=rgstrStrtPnttm_tm]").val();
|
||||
var p_rgstrDdlnPnttm_dt = $(thisObj).closest("td").find("input[name=rgstrDdlnPnttm_dt]").val();
|
||||
var p_rgstrDdlnPnttm_tm = $(thisObj).closest("td").find("input[name=rgstrDdlnPnttm_tm]").val();
|
||||
|
||||
var p_yr = $("#yr").val();
|
||||
var p_ord = $("#ord").val();
|
||||
|
||||
var p_rgstrStrtPnttm_dt = $("#rgstrStrtPnttm_dt").val();
|
||||
var p_rgstrStrtPnttm_tm = $("#rgstrStrtPnttm_tm").val();
|
||||
var p_rgstrDdlnPnttm_dt = $("#rgstrDdlnPnttm_dt").val();
|
||||
var p_rgstrDdlnPnttm_tm = $("#rgstrDdlnPnttm_tm").val();
|
||||
|
||||
//alert(p_areaCd);
|
||||
|
||||
//if(p_psblTmQntty != "") {
|
||||
if(true) {
|
||||
|
||||
$.ajax({
|
||||
type:"POST",
|
||||
url:"${pageContext.request.contextPath}/kccadr/oprtn/tngrVisitEdu/popup/advRndsSaveAjax.do",
|
||||
data:{
|
||||
"yr" : p_yr,
|
||||
"ord" : p_ord,
|
||||
"rgstrStrtPnttm" : p_rgstrStrtPnttm_dt+p_rgstrStrtPnttm_tm,
|
||||
"rgstrDdlnPnttm" : p_rgstrDdlnPnttm_dt+p_rgstrDdlnPnttm_tm,
|
||||
},
|
||||
dataType:'json',
|
||||
success:function(returnData){
|
||||
|
||||
if(returnData.result == "success"){
|
||||
alert("변경 처리 되었습니다.");
|
||||
fncGoList();
|
||||
}else{
|
||||
alert("변경 중 오류가 발생하였습니다.");
|
||||
}
|
||||
},
|
||||
error:function(request , status, error){
|
||||
alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
|
||||
}
|
||||
});
|
||||
}else{
|
||||
alert("교육가능시수를 입력해주세요.");
|
||||
}
|
||||
}
|
||||
|
||||
function fncGoList(){
|
||||
linkPage(1);
|
||||
}
|
||||
|
||||
function linkPage(pageNo){
|
||||
var listForm = document.createForm ;
|
||||
//listForm.pageIndex.value = pageNo ;
|
||||
//listForm.searchCondition.value = $('#searchCondition').val();
|
||||
//listForm.searchKeyword.value = $('#searchKeyword').val();
|
||||
listForm.action = "<c:url value='/kccadr/oprtn/tngrVisitEdu/popup/advRndsStngMngPopup.do'/>";
|
||||
listForm.submit();
|
||||
}
|
||||
|
||||
//회차관리 변경
|
||||
function fncRndsUpdate(p_rndsOrd){
|
||||
//alert($("#ord_1").val());
|
||||
//alert($(thisObj).closest("td"));
|
||||
//alert($(thisObj).closest("td").find("input[name=ord_1]").length);
|
||||
//var p_ord = $(thisObj).closest("td").find("input[name=ord_1]").val();
|
||||
//$("#${list.rndsOrd}"+" #lctrPsblStrtTm").val('${list.dpStrtTm}');
|
||||
|
||||
var p_rgstrStrtPnttm_dt = $("#"+p_rndsOrd+" #aplctPrdStrt").val();
|
||||
var p_rgstrStrtPnttm_tm = $("#"+p_rndsOrd+" #lctrPsblStrtTm").val();
|
||||
|
||||
var p_rgstrDdlnPnttm_dt = $("#"+p_rndsOrd+" #aplctPrdEnd").val();
|
||||
var p_rgstrDdlnPnttm_tm = $("#"+p_rndsOrd+" #lctrPsblEndTm").val();
|
||||
|
||||
|
||||
var p_ord = $("#"+p_rndsOrd+" #psblTmQntty").val();
|
||||
|
||||
//alert(p_areaCd);
|
||||
|
||||
//if(p_psblTmQntty != "") {
|
||||
if(true) {
|
||||
|
||||
$.ajax({
|
||||
type:"POST",
|
||||
url:"${pageContext.request.contextPath}/kccadr/oprtn/tngrVisitEdu/popup/advRndsUpdateAjax.do",
|
||||
data:{
|
||||
"rndsOrd" : p_rndsOrd,
|
||||
//"yr" : p_yr,
|
||||
"ord" : p_ord,
|
||||
"rgstrStrtPnttm" : p_rgstrStrtPnttm_dt+p_rgstrStrtPnttm_tm,
|
||||
"rgstrDdlnPnttm" : p_rgstrDdlnPnttm_dt+p_rgstrDdlnPnttm_tm,
|
||||
},
|
||||
dataType:'json',
|
||||
success:function(returnData){
|
||||
|
||||
if(returnData.result == "success"){
|
||||
alert("변경 처리 되었습니다.");
|
||||
fncGoList();
|
||||
}else{
|
||||
alert("변경 중 오류가 발생하였습니다.");
|
||||
}
|
||||
},
|
||||
error:function(request , status, error){
|
||||
alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
|
||||
}
|
||||
});
|
||||
}else{
|
||||
alert("교육가능시수를 입력해주세요.");
|
||||
}
|
||||
}
|
||||
|
||||
//회차관리 삭제
|
||||
function fncRndsDelete(p_rndsOrd){
|
||||
//if(p_psblTmQntty != "") {
|
||||
if(true) {
|
||||
|
||||
$.ajax({
|
||||
type:"POST",
|
||||
url:"${pageContext.request.contextPath}/kccadr/oprtn/tngrVisitEdu/popup/advRndsDeleteAjax.do",
|
||||
data:{
|
||||
"rndsOrd" : p_rndsOrd,
|
||||
},
|
||||
dataType:'json',
|
||||
success:function(returnData){
|
||||
|
||||
if(returnData.result == "success"){
|
||||
alert("삭제 처리 되었습니다.");
|
||||
fncGoList();
|
||||
}else{
|
||||
alert("삭제 중 오류가 발생하였습니다.");
|
||||
fncGoList();
|
||||
}
|
||||
},
|
||||
error:function(request , status, error){
|
||||
alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
|
||||
}
|
||||
});
|
||||
}else{
|
||||
alert("교육가능시수를 입력해주세요.");
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!-- 팝업을 위한 mask -->
|
||||
<div class="mask2" onclick="timeLayerUtil()"></div>
|
||||
|
||||
|
||||
|
||||
<div class="area_popup">
|
||||
|
||||
<!-- cont_tit -->
|
||||
<div class="cont_tit">
|
||||
<h2>회차관리</h2>
|
||||
</div>
|
||||
<!-- //cont_tit -->
|
||||
|
||||
<div class="cont_popup">
|
||||
|
||||
<form:form id="createForm" name="createForm" method="post" commandName="vELctrDetailVO" onsubmit="return false;">
|
||||
<input type="hidden" name="instrDiv" id="instrDiv" value="<c:out value="${vELctrDetailVO.instrDiv}" />">
|
||||
<input type="hidden" name="areaCd" id="areaCd" value="<c:out value="${vELctrDetailVO.areaCd}" />">
|
||||
<input type="hidden" name="stngYr" id="stngYr" value="<c:out value="${vELctrDetailVO.stngYr}" />">
|
||||
<input type="hidden" name="prdDivCd" id="prdDivCd" value="<c:out value="${vELctrDetailVO.prdDivCd}" />">
|
||||
|
||||
|
||||
|
||||
<table class="pop_tb_type02">
|
||||
<colgroup>
|
||||
<col style="width: 140px;">
|
||||
<col style="width: auto;">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row" colspan="2">
|
||||
<p class="req_text"><span>필수입력 항목</span></p>
|
||||
<p>
|
||||
년도
|
||||
<kc:select codeId="VE0029" name="yr" id="yr" css="class='sel_type1'"
|
||||
selectedValue="${vEAStngVO.yr}"
|
||||
/>
|
||||
<button class="btn_type08" onclick="fncGoList(); return false;">검색</button>
|
||||
|
||||
</p>
|
||||
</th>
|
||||
<!--
|
||||
<td>
|
||||
<div class="util_right">
|
||||
년도
|
||||
<kc:select codeId="VE0029" name="yr" id="yr" css="class='sel_type1'"
|
||||
selectedValue="${vEAStngVO.yr}"
|
||||
/>
|
||||
<button class="btn_type08" onclick="fncGoList(); return false;">검색</button>
|
||||
|
||||
</div>
|
||||
</td>
|
||||
-->
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<table class="pop_tb_type02">
|
||||
<colgroup>
|
||||
<col style="width: 21%;">
|
||||
<col style="width: 33%;">
|
||||
<col style="width: 33%;">
|
||||
<col style="width: 15%;">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">회차명</th>
|
||||
<th scope="row">접수시작일시</th>
|
||||
<th scope="row">접수마감일시</th>
|
||||
<th scope="row">관리</th>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody>
|
||||
<tr>
|
||||
<!-- 회차 -->
|
||||
<td>
|
||||
<div class="util_right">
|
||||
|
||||
<input type="text" id="ord" name="ord" class="search_input"
|
||||
style="width:100px;" maxlength="3"
|
||||
placeholder="숫자만" value='' onkeyDown="press(event);">회차
|
||||
</td>
|
||||
<td>
|
||||
<div class="util_right">
|
||||
<div class="calendar_wrap">
|
||||
<input type="text" class="calendar" title="시작일 선택" id="rgstrStrtPnttm_dt"
|
||||
name="rgstrStrtPnttm_dt">
|
||||
</div>
|
||||
<select name="rgstrStrtPnttm_tm" id="rgstrStrtPnttm_tm" class="hours_select" style="width:70px;"
|
||||
title="시 선택">
|
||||
<option value="선택">선택</option>
|
||||
<option value="00">00</option>
|
||||
<option value="01">01</option>
|
||||
<option value="02">02</option>
|
||||
<option value="03">03</option>
|
||||
<option value="04">04</option>
|
||||
<option value="05">05</option>
|
||||
<option value="06">06</option>
|
||||
<option value="07">07</option>
|
||||
<option value="08">08</option>
|
||||
<option value="09">09</option>
|
||||
<option value="10">10</option>
|
||||
<option value="11">11</option>
|
||||
<option value="12">12</option>
|
||||
<option value="13">13</option>
|
||||
<option value="14">14</option>
|
||||
<option value="15">15</option>
|
||||
<option value="16">16</option>
|
||||
<option value="17">17</option>
|
||||
<option value="18">18</option>
|
||||
<option value="19">19</option>
|
||||
<option value="20">20</option>
|
||||
<option value="21">21</option>
|
||||
<option value="22">22</option>
|
||||
<option value="23">23</option>
|
||||
|
||||
</select>시
|
||||
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="util_right">
|
||||
|
||||
<div class="calendar_wrap">
|
||||
<input type="text" class="calendar" title="종료일 선택" id="rgstrDdlnPnttm_dt"
|
||||
name="rgstrDdlnPnttm_dt">
|
||||
</div>
|
||||
|
||||
<select name="rgstrDdlnPnttm_tm" id="rgstrDdlnPnttm_tm" class="hours_select" style="width:70px;"
|
||||
title="시 선택">
|
||||
|
||||
<option value="선택">선택</option>
|
||||
<option value="00">00</option>
|
||||
<option value="01">01</option>
|
||||
<option value="02">02</option>
|
||||
<option value="03">03</option>
|
||||
<option value="04">04</option>
|
||||
<option value="05">05</option>
|
||||
<option value="06">06</option>
|
||||
<option value="07">07</option>
|
||||
<option value="08">08</option>
|
||||
<option value="09">09</option>
|
||||
<option value="10">10</option>
|
||||
<option value="11">11</option>
|
||||
<option value="12">12</option>
|
||||
<option value="13">13</option>
|
||||
<option value="14">14</option>
|
||||
<option value="15">15</option>
|
||||
<option value="16">16</option>
|
||||
<option value="17">17</option>
|
||||
<option value="18">18</option>
|
||||
<option value="19">19</option>
|
||||
<option value="20">20</option>
|
||||
<option value="21">21</option>
|
||||
<option value="22">22</option>
|
||||
<option value="23">23</option>
|
||||
</select>시
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="btn_wrap_pop btn_layout01" style="margin-top:10px;margin-bottom:10px;">
|
||||
<div class="btn_center" style="width: 100%;">
|
||||
<button class="btn_type04" onclick="fncRndsSave(this); return false;">등록</button>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<table class="pop_tb_type02">
|
||||
<colgroup>
|
||||
<col style="width: 20%;">
|
||||
<col style="width: 30%;">
|
||||
<col style="width: 30%;">
|
||||
<col style="width: 20%;">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">회차명</th>
|
||||
<th scope="row">접수시작일시</th>
|
||||
<th scope="row">접수마감일시</th>
|
||||
<th scope="row">관리</th>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody>
|
||||
<c:forEach var="list" items="${selectBasicList}" varStatus="status">
|
||||
<tr id='<c:out value="${list.rndsOrd}"/>'>
|
||||
<!-- 회차 -->
|
||||
<td>
|
||||
<div class="util_right">
|
||||
|
||||
<input type="text" id="psblTmQntty" name="psblTmQntty" class="search_input"
|
||||
style="width:100px;"
|
||||
placeholder="회차" value='<c:out value="${list.ord}"/>' onkeyDown="press(event);">회차
|
||||
</td>
|
||||
<td>
|
||||
<div class="util_right">
|
||||
<div class="calendar_wrap">
|
||||
<input type="text" class="calendar" title="시작일 선택" id="aplctPrdStrt"
|
||||
name="aplctPrdStrt" value='<c:out value="${list.dpStrtDt}"/>'>
|
||||
</div>
|
||||
<select name="lctrPsblStrtTm" id="lctrPsblStrtTm" class="hours_select" style="width:70px;"
|
||||
title="시 선택" value='<c:out value="${list.dpStrtTm}"/>'>
|
||||
<option value="선택">선택</option>
|
||||
<option value="00">00</option>
|
||||
<option value="01">01</option>
|
||||
<option value="02">02</option>
|
||||
<option value="03">03</option>
|
||||
<option value="04">04</option>
|
||||
<option value="05">05</option>
|
||||
<option value="06">06</option>
|
||||
<option value="07">07</option>
|
||||
<option value="08">08</option>
|
||||
<option value="09">09</option>
|
||||
<option value="10">10</option>
|
||||
<option value="11">11</option>
|
||||
<option value="12">12</option>
|
||||
<option value="13">13</option>
|
||||
<option value="14">14</option>
|
||||
<option value="15">15</option>
|
||||
<option value="16">16</option>
|
||||
<option value="17">17</option>
|
||||
<option value="18">18</option>
|
||||
<option value="19">19</option>
|
||||
<option value="20">20</option>
|
||||
<option value="21">21</option>
|
||||
<option value="22">22</option>
|
||||
<option value="23">23</option>
|
||||
|
||||
</select>시
|
||||
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="util_right">
|
||||
|
||||
<div class="calendar_wrap">
|
||||
<input type="text" class="calendar" title="종료일 선택" id="aplctPrdEnd"
|
||||
name="aplctPrdEnd" value='<c:out value="${list.dpDdlnDt}"/>'>
|
||||
</div>
|
||||
|
||||
<select name="lctrPsblEndTm" id="lctrPsblEndTm" class="hours_select" style="width:70px;"
|
||||
title="시 선택" value='<c:out value="${list.dpDdlnTm}"/>'>
|
||||
|
||||
<option value="선택">선택</option>
|
||||
<option value="00">00</option>
|
||||
<option value="01">01</option>
|
||||
<option value="02">02</option>
|
||||
<option value="03">03</option>
|
||||
<option value="04">04</option>
|
||||
<option value="05">05</option>
|
||||
<option value="06">06</option>
|
||||
<option value="07">07</option>
|
||||
<option value="08">08</option>
|
||||
<option value="09">09</option>
|
||||
<option value="10">10</option>
|
||||
<option value="11">11</option>
|
||||
<option value="12">12</option>
|
||||
<option value="13">13</option>
|
||||
<option value="14">14</option>
|
||||
<option value="15">15</option>
|
||||
<option value="16">16</option>
|
||||
<option value="17">17</option>
|
||||
<option value="18">18</option>
|
||||
<option value="19">19</option>
|
||||
<option value="20">20</option>
|
||||
<option value="21">21</option>
|
||||
<option value="22">22</option>
|
||||
<option value="23">23</option>
|
||||
</select>시
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="btn_wrap_pop btn_layout01" style="margin-top:10px;margin-bottom:10px;">
|
||||
<div class="btn_center" style="width: 100%;">
|
||||
<button type="button" class="btn_type04" onclick="fncRndsUpdate('${list.rndsOrd}'); return false;">수정</button>
|
||||
<button type="button" class="btn_type02" onclick="fncRndsDelete('${list.rndsOrd}'); return false;">삭제</button>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<script>
|
||||
$("#${list.rndsOrd}"+" #lctrPsblStrtTm").val('${list.dpStrtTm}');
|
||||
$("#${list.rndsOrd}"+" #lctrPsblEndTm").val('${list.dpDdlnTm}');
|
||||
</script>
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</form:form>
|
||||
|
||||
<div class="btn_wrap_pop btn_layout01">
|
||||
<div class="btn_left">
|
||||
</div>
|
||||
<div class="btn_center" style="width: 100%;">
|
||||
<button type="button" class="btn_type04" onclick="fncAprooval(); return false;">확인</button>
|
||||
<button type="button" class="btn_type02" onclick="window.close()">취소</button>
|
||||
</div>
|
||||
<div class="btn_right">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@ -144,6 +144,9 @@
|
||||
<col style="width: 8%">
|
||||
<col style="width: 8%">
|
||||
<col style="width: auto;">
|
||||
<col style="width: 8%">
|
||||
<col style="width: 8%">
|
||||
<col style="width: 8%">
|
||||
<col style="width: 10%">
|
||||
<col style="width: 10%">
|
||||
</colgroup>
|
||||
@ -153,7 +156,10 @@
|
||||
<th>학교구분</th>
|
||||
<th>지역</th>
|
||||
<th>학교(기관)명</th>
|
||||
<th>도서구분</th>
|
||||
<th>도서여부</th>
|
||||
<th>벽지여부</th>
|
||||
<th>접적학교여부</th>
|
||||
<th>인구감소지역여부</th>
|
||||
<th>등록일</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -196,7 +202,22 @@
|
||||
</td>
|
||||
<td>
|
||||
<a href="#" onclick="javascript:fncGoDetail('${list.scholId}'); return false;">
|
||||
<c:out value="${list.isltnScholYn}"/>
|
||||
<c:out value="${list.isltnYn}"/>
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="#" onclick="javascript:fncGoDetail('${list.scholId}'); return false;">
|
||||
<c:out value="${list.isltn2Yn}"/>
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="#" onclick="javascript:fncGoDetail('${list.scholId}'); return false;">
|
||||
<c:out value="${list.isltn3Yn}"/>
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="#" onclick="javascript:fncGoDetail('${list.scholId}'); return false;">
|
||||
<c:out value="${list.isltnYn}"/>
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
@ -207,7 +228,7 @@
|
||||
</tr>
|
||||
</c:forEach>
|
||||
<c:if test="${empty list}">
|
||||
<tr><td colspan="6"><spring:message code="common.nodata.msg" /></td></tr>
|
||||
<tr><td colspan="9"><spring:message code="common.nodata.msg" /></td></tr>
|
||||
</c:if>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user