2024-02-01 16:16 기소유예, 실무역량 강의계획서, 결과보고서 삭제 기능 추가
This commit is contained in:
parent
845620e121
commit
f4e289e3cb
@ -25,4 +25,6 @@ public interface VEAPrcsAplctPrdInstrAsgnmService {
|
|||||||
VEAPrcsAplctPrdInstrAsgnmVO selectPrcsInstrAsgnmDetail(VEPrcsDetailVO vEDetailVO);
|
VEAPrcsAplctPrdInstrAsgnmVO selectPrcsInstrAsgnmDetail(VEPrcsDetailVO vEDetailVO);
|
||||||
|
|
||||||
void updatDocAtchFileId(VEAPrcsAplctPrdInstrAsgnmVO vEAPrcsAplctPrdInstrAsgnmVO);
|
void updatDocAtchFileId(VEAPrcsAplctPrdInstrAsgnmVO vEAPrcsAplctPrdInstrAsgnmVO);
|
||||||
|
|
||||||
|
void updateResetAtchFileId(VEAPrcsAplctPrdInstrAsgnmVO vEAPrcsAplctPrdInstrAsgnmVO);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -5,7 +5,6 @@ import java.util.List;
|
|||||||
import org.springframework.stereotype.Repository;
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
import egovframework.rte.psl.dataaccess.EgovAbstractDAO;
|
import egovframework.rte.psl.dataaccess.EgovAbstractDAO;
|
||||||
import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailVO;
|
|
||||||
import kcc.ve.instr.tngrVisitEdu.prcsInfo.service.VEAPrcsAplctPrdInstrAsgnmVO;
|
import kcc.ve.instr.tngrVisitEdu.prcsInfo.service.VEAPrcsAplctPrdInstrAsgnmVO;
|
||||||
import kcc.ve.instr.tngrVisitEdu.prcsInfo.service.VEPrcsDetailVO;
|
import kcc.ve.instr.tngrVisitEdu.prcsInfo.service.VEPrcsDetailVO;
|
||||||
|
|
||||||
@ -60,4 +59,9 @@ public class VEAPrcsAplctPrdInstrAsgnmDAO extends EgovAbstractDAO {
|
|||||||
update("VEAPrcsAplctPrdInstrAsgnmDAO.updatDocAtchFileId", vEAPrcsAplctPrdInstrAsgnmVO);
|
update("VEAPrcsAplctPrdInstrAsgnmDAO.updatDocAtchFileId", vEAPrcsAplctPrdInstrAsgnmVO);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void updateResetAtchFileId(VEAPrcsAplctPrdInstrAsgnmVO vEAPrcsAplctPrdInstrAsgnmVO) {
|
||||||
|
update("VEAPrcsAplctPrdInstrAsgnmDAO.updateResetAtchFileId", vEAPrcsAplctPrdInstrAsgnmVO);
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -87,5 +87,11 @@ public class VEAPrcsAplctPrdInstrAsgnmServiceImpl implements VEAPrcsAplctPrdInst
|
|||||||
vEAPrcsAplctPrdInstrAsgnmDAO.updatDocAtchFileId(vEAPrcsAplctPrdInstrAsgnmVO);
|
vEAPrcsAplctPrdInstrAsgnmDAO.updatDocAtchFileId(vEAPrcsAplctPrdInstrAsgnmVO);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void updateResetAtchFileId(VEAPrcsAplctPrdInstrAsgnmVO vEAPrcsAplctPrdInstrAsgnmVO) {
|
||||||
|
vEAPrcsAplctPrdInstrAsgnmDAO.updateResetAtchFileId(vEAPrcsAplctPrdInstrAsgnmVO);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -3,6 +3,7 @@ package kcc.ve.instr.tngrVisitEdu.rprtInfo.service;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import kcc.com.cmm.service.FileVO;
|
import kcc.com.cmm.service.FileVO;
|
||||||
|
import kcc.ve.instr.tngrVisitEdu.prcsInfo.service.VEAPrcsAplctPrdInstrAsgnmVO;
|
||||||
|
|
||||||
public interface VEEduRsltRprtService {
|
public interface VEEduRsltRprtService {
|
||||||
|
|
||||||
@ -32,5 +33,8 @@ public interface VEEduRsltRprtService {
|
|||||||
|
|
||||||
//결과보고 첨부파일 삭제 처리(성인) - 2024-02-01 제작(
|
//결과보고 첨부파일 삭제 처리(성인) - 2024-02-01 제작(
|
||||||
public void deleteNewRsltRprtAdultFileInf(FileVO fileVO, VEEduRprtVO vEEduRprtVO) throws Exception;
|
public void deleteNewRsltRprtAdultFileInf(FileVO fileVO, VEEduRprtVO vEEduRprtVO) throws Exception;
|
||||||
|
|
||||||
|
//결과보고 첨부파일 삭제 처리(실무,기소-계획서,결과보고서) - 2024-02-01 제작(
|
||||||
|
public void deleteNewRsltRprtFileInf_F_C(FileVO fileVO, VEAPrcsAplctPrdInstrAsgnmVO vEAPrcsAplctPrdInstrAsgnmVO) throws Exception;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -10,6 +10,8 @@ import org.springframework.stereotype.Service;
|
|||||||
|
|
||||||
import kcc.com.cmm.service.FileVO;
|
import kcc.com.cmm.service.FileVO;
|
||||||
import kcc.com.cmm.service.impl.FileManageDAO;
|
import kcc.com.cmm.service.impl.FileManageDAO;
|
||||||
|
import kcc.ve.instr.tngrVisitEdu.prcsInfo.service.VEAPrcsAplctPrdInstrAsgnmVO;
|
||||||
|
import kcc.ve.instr.tngrVisitEdu.prcsInfo.service.impl.VEAPrcsAplctPrdInstrAsgnmDAO;
|
||||||
import kcc.ve.instr.tngrVisitEdu.rprtInfo.service.VEEduRprtVO;
|
import kcc.ve.instr.tngrVisitEdu.rprtInfo.service.VEEduRprtVO;
|
||||||
import kcc.ve.instr.tngrVisitEdu.rprtInfo.service.VEEduRsltRprtService;
|
import kcc.ve.instr.tngrVisitEdu.rprtInfo.service.VEEduRsltRprtService;
|
||||||
|
|
||||||
@ -19,6 +21,10 @@ public class VEEduRsltRprtServiceImpl implements VEEduRsltRprtService {
|
|||||||
//차시
|
//차시
|
||||||
@Resource(name="vEEduRsltRprtDAO")
|
@Resource(name="vEEduRsltRprtDAO")
|
||||||
private VEEduRsltRprtDAO vEEduRsltRprtDAO;
|
private VEEduRsltRprtDAO vEEduRsltRprtDAO;
|
||||||
|
|
||||||
|
@Resource(name="vEAPrcsAplctPrdInstrAsgnmDAO")
|
||||||
|
private VEAPrcsAplctPrdInstrAsgnmDAO vEAPrcsAplctPrdInstrAsgnmDAO;
|
||||||
|
|
||||||
|
|
||||||
//첨부파일
|
//첨부파일
|
||||||
@Resource(name = "FileManageDAO")
|
@Resource(name = "FileManageDAO")
|
||||||
@ -120,4 +126,31 @@ public class VEEduRsltRprtServiceImpl implements VEEduRsltRprtService {
|
|||||||
|
|
||||||
//fileMngDAO.deleteFileInfs(fileVO); //DB삭제
|
//fileMngDAO.deleteFileInfs(fileVO); //DB삭제
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//결과보고 컬럼 삭제 하고 파일도 삭제 처리함(실무,기소-강의계획서,결과보고서)
|
||||||
|
public void deleteNewRsltRprtFileInf_F_C(FileVO fileVO, VEAPrcsAplctPrdInstrAsgnmVO vEAPrcsAplctPrdInstrAsgnmVO) throws Exception {
|
||||||
|
//결과 보고 첨부파일 ID 삭제 처리
|
||||||
|
vEAPrcsAplctPrdInstrAsgnmDAO.updateResetAtchFileId(vEAPrcsAplctPrdInstrAsgnmVO);
|
||||||
|
//vEEduRsltRprtDAO.updateNullFile(vEEduRprtVO);
|
||||||
|
//vEEduRsltRprtDAO.delete(vEEduRprtVO);
|
||||||
|
/*
|
||||||
|
* "atchFileId" : p_atchFileId
|
||||||
|
, "eduAplctOrd" : p_eduAplctOrd
|
||||||
|
, "eduChasiOrd" : p_eduChasiOrd
|
||||||
|
, "rprtFileType" : "rprt"/
|
||||||
|
*/
|
||||||
|
//파일 삭제처리
|
||||||
|
List<FileVO> returnFileVO = null;
|
||||||
|
returnFileVO = fileMngDAO.selectFileInfs(fileVO);
|
||||||
|
if(returnFileVO !=null) {
|
||||||
|
for(int i=0;i<returnFileVO.size();i++) {
|
||||||
|
File delFile = new File(returnFileVO.get(i).getFileStreCours()+returnFileVO.get(i).getStreFileNm());
|
||||||
|
delFile.delete();
|
||||||
|
}
|
||||||
|
|
||||||
|
fileMngDAO.deleteFileInfs(returnFileVO); //DB삭제
|
||||||
|
}
|
||||||
|
|
||||||
|
//fileMngDAO.deleteFileInfs(fileVO); //DB삭제
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -46,6 +46,7 @@ import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailVO;
|
|||||||
import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrMixService;
|
import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrMixService;
|
||||||
import kcc.ve.instr.tngrVisitEdu.lctrInfo.service.VELctrDetailVO;
|
import kcc.ve.instr.tngrVisitEdu.lctrInfo.service.VELctrDetailVO;
|
||||||
import kcc.ve.instr.tngrVisitEdu.lctrInfo.service.VELctrMIXService;
|
import kcc.ve.instr.tngrVisitEdu.lctrInfo.service.VELctrMIXService;
|
||||||
|
import kcc.ve.instr.tngrVisitEdu.prcsInfo.service.VEAPrcsAplctPrdInstrAsgnmVO;
|
||||||
import kcc.ve.instr.tngrVisitEdu.prcsInfo.service.VEPrcsMIXService;
|
import kcc.ve.instr.tngrVisitEdu.prcsInfo.service.VEPrcsMIXService;
|
||||||
import kcc.ve.instr.tngrVisitEdu.prcsInfo.service.VEPrcsService;
|
import kcc.ve.instr.tngrVisitEdu.prcsInfo.service.VEPrcsService;
|
||||||
import kcc.ve.instr.tngrVisitEdu.rprtInfo.service.VEEduRprtVO;
|
import kcc.ve.instr.tngrVisitEdu.rprtInfo.service.VEEduRprtVO;
|
||||||
@ -558,6 +559,7 @@ public class OprtnStateMngController {
|
|||||||
public ModelAndView rsltRprtfileDeleteNewAjax(
|
public ModelAndView rsltRprtfileDeleteNewAjax(
|
||||||
FmsFileVO fmsFileVO,
|
FmsFileVO fmsFileVO,
|
||||||
@ModelAttribute("fileVO") FileVO fileVO,
|
@ModelAttribute("fileVO") FileVO fileVO,
|
||||||
|
VEAPrcsAplctPrdInstrAsgnmVO vEAPrcsAplctPrdInstrAsgnmVO,
|
||||||
VEEduRprtVO vEEduRprtVO
|
VEEduRprtVO vEEduRprtVO
|
||||||
) throws Exception {
|
) throws Exception {
|
||||||
|
|
||||||
@ -567,12 +569,31 @@ public class OprtnStateMngController {
|
|||||||
LoginVO loginVO = checkLoginUtil.getAuthLoginVO(); //권한에 따른 로그인 정보 가져오기
|
LoginVO loginVO = checkLoginUtil.getAuthLoginVO(); //권한에 따른 로그인 정보 가져오기
|
||||||
|
|
||||||
vEEduRprtVO.setLastUpdusrId(loginVO.getUniqId());
|
vEEduRprtVO.setLastUpdusrId(loginVO.getUniqId());
|
||||||
|
vEAPrcsAplctPrdInstrAsgnmVO.setLastUpdusrId(loginVO.getUniqId());
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if ("rprtTngr".equals(vEEduRprtVO.getRprtFileType())) { //청소년 결과 보고서 삭제
|
if ("rprtTngr".equals(vEEduRprtVO.getRprtFileType())) { //청소년 결과 보고서 삭제
|
||||||
vEEduRsltRprtService.deleteNewRsltRprtFileInf(fileVO, vEEduRprtVO); /* DB & 물리파일 삭제 VE_edu_RSLT_RPRT */
|
vEEduRsltRprtService.deleteNewRsltRprtFileInf(fileVO, vEEduRprtVO); /* DB & 물리파일 삭제 VE_edu_RSLT_RPRT */
|
||||||
|
|
||||||
}else if ("rprtAdult".equals(vEEduRprtVO.getRprtFileType())) { //성인 결과 보고서 삭제
|
}else if ("rprtAdult".equals(vEEduRprtVO.getRprtFileType())) { //성인 결과 보고서 삭제
|
||||||
vEEduRsltRprtService.deleteNewRsltRprtAdultFileInf(fileVO, vEEduRprtVO); /* DB & 물리파일 삭제 VEA_RSLT_RPRT */
|
vEEduRsltRprtService.deleteNewRsltRprtAdultFileInf(fileVO, vEEduRprtVO); /* DB & 물리파일 삭제 VEA_RSLT_RPRT */
|
||||||
|
|
||||||
|
|
||||||
|
}else if ("planFndth".equals(vEEduRprtVO.getRprtFileType())) { //실무역량 강의계획서 삭제
|
||||||
|
vEAPrcsAplctPrdInstrAsgnmVO.setLctrPlanAtchFileId(fileVO.getAtchFileId());
|
||||||
|
vEEduRsltRprtService.deleteNewRsltRprtFileInf_F_C(fileVO, vEAPrcsAplctPrdInstrAsgnmVO); /* DB & 물리파일 삭제 vea_prcs_aplct_prd_instr_asgnm */
|
||||||
|
|
||||||
|
}else if ("rprtFndth".equals(vEEduRprtVO.getRprtFileType())) { //실무역량 결과 보고서 삭제
|
||||||
|
vEAPrcsAplctPrdInstrAsgnmVO.setDocAtchFileId(fileVO.getAtchFileId());
|
||||||
|
vEEduRsltRprtService.deleteNewRsltRprtFileInf_F_C(fileVO, vEAPrcsAplctPrdInstrAsgnmVO); /* DB & 물리파일 삭제 vea_prcs_aplct_prd_instr_asgnm */
|
||||||
|
|
||||||
|
}else if ("planCndtn".equals(vEEduRprtVO.getRprtFileType())) { //기소유예 강의계획서 삭제
|
||||||
|
vEAPrcsAplctPrdInstrAsgnmVO.setLctrPlanAtchFileId(fileVO.getAtchFileId());
|
||||||
|
vEEduRsltRprtService.deleteNewRsltRprtFileInf_F_C(fileVO, vEAPrcsAplctPrdInstrAsgnmVO); /* DB & 물리파일 삭제 vea_prcs_aplct_prd_instr_asgnm */
|
||||||
|
|
||||||
|
}else if ("rprtCndtn".equals(vEEduRprtVO.getRprtFileType())) { //기소유예 결과 보고서 삭제
|
||||||
|
vEAPrcsAplctPrdInstrAsgnmVO.setDocAtchFileId(fileVO.getAtchFileId());
|
||||||
|
vEEduRsltRprtService.deleteNewRsltRprtFileInf_F_C(fileVO, vEAPrcsAplctPrdInstrAsgnmVO); /* DB & 물리파일 삭제 vea_prcs_aplct_prd_instr_asgnm */
|
||||||
}
|
}
|
||||||
|
|
||||||
modelAndView.addObject("result", "success");
|
modelAndView.addObject("result", "success");
|
||||||
|
|||||||
@ -1,224 +1,243 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?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">
|
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://www.ibatis.com/dtd/sql-map-2.dtd">
|
||||||
<!-- 찾교 과정 테이블 -->
|
<!-- 찾교 과정 테이블 -->
|
||||||
<sqlMap namespace="VEAPrcsAplctPrdInstrAsgnm">
|
<sqlMap namespace="VEAPrcsAplctPrdInstrAsgnm">
|
||||||
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/>
|
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/>
|
||||||
<typeAlias alias="VEAPrcsAplctPrdInstrAsgnmVO" type="kcc.ve.instr.tngrVisitEdu.prcsInfo.service.VEAPrcsAplctPrdInstrAsgnmVO"/>
|
<typeAlias alias="VEAPrcsAplctPrdInstrAsgnmVO" type="kcc.ve.instr.tngrVisitEdu.prcsInfo.service.VEAPrcsAplctPrdInstrAsgnmVO"/>
|
||||||
<typeAlias alias="VEPrcsDetailVO" type="kcc.ve.instr.tngrVisitEdu.prcsInfo.service.VEPrcsDetailVO"/>
|
<typeAlias alias="VEPrcsDetailVO" type="kcc.ve.instr.tngrVisitEdu.prcsInfo.service.VEPrcsDetailVO"/>
|
||||||
|
|
||||||
|
|
||||||
<!-- 공통 테이블 명 -->
|
<!-- 공통 테이블 명 -->
|
||||||
<sql id="VEAPrcsAplctPrdInstrAsgnmDAO.table_name">
|
<sql id="VEAPrcsAplctPrdInstrAsgnmDAO.table_name">
|
||||||
vea_prcs_aplct_prd_instr_asgnm
|
vea_prcs_aplct_prd_instr_asgnm
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
<!-- 저장용 공통 컬럼 명 -->
|
<!-- 저장용 공통 컬럼 명 -->
|
||||||
<sql id="VEAPrcsAplctPrdInstrAsgnmDAO.column_name">
|
<sql id="VEAPrcsAplctPrdInstrAsgnmDAO.column_name">
|
||||||
|
|
||||||
prcs_aplct_prd_ord
|
prcs_aplct_prd_ord
|
||||||
, user_id
|
, user_id
|
||||||
, lctr_plan_atch_file_id
|
, lctr_plan_atch_file_id
|
||||||
, doc_atch_file_id
|
, doc_atch_file_id
|
||||||
, asgnm_aprvl_cd
|
, asgnm_aprvl_cd
|
||||||
, asgnm_aprvl_pnttm
|
, asgnm_aprvl_pnttm
|
||||||
, asgnm_aprvl_id
|
, asgnm_aprvl_id
|
||||||
, rmrks
|
, rmrks
|
||||||
, frst_regist_pnttm
|
, frst_regist_pnttm
|
||||||
, frst_register_id
|
, frst_register_id
|
||||||
, last_updt_pnttm
|
, last_updt_pnttm
|
||||||
, last_updusr_id
|
, last_updusr_id
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
<!-- 조회용 공통 컬럼 명 -->
|
<!-- 조회용 공통 컬럼 명 -->
|
||||||
<sql id="VEAPrcsAplctPrdInstrAsgnmDAO.select_column_name">
|
<sql id="VEAPrcsAplctPrdInstrAsgnmDAO.select_column_name">
|
||||||
|
|
||||||
a.prcs_aplct_prd_ord as prcsAplctPrdOrd
|
a.prcs_aplct_prd_ord as prcsAplctPrdOrd
|
||||||
, a.user_id as userId
|
, a.user_id as userId
|
||||||
, a.lctr_plan_atch_file_id as lctrPlanAtchFileId
|
, a.lctr_plan_atch_file_id as lctrPlanAtchFileId
|
||||||
, a.doc_atch_file_id as docAtchFileId
|
, a.doc_atch_file_id as docAtchFileId
|
||||||
, a.asgnm_aprvl_cd as asgnmAprvlCd
|
, a.asgnm_aprvl_cd as asgnmAprvlCd
|
||||||
, a.asgnm_aprvl_pnttm as asgnmAprvlPnttm
|
, a.asgnm_aprvl_pnttm as asgnmAprvlPnttm
|
||||||
, a.asgnm_aprvl_id as asgnmAprvlId
|
, a.asgnm_aprvl_id as asgnmAprvlId
|
||||||
, a.rmrks as rmrks
|
, a.rmrks as rmrks
|
||||||
, a.frst_regist_pnttm as frstRegistPnttm
|
, a.frst_regist_pnttm as frstRegistPnttm
|
||||||
, a.frst_register_id as frstRegisterId
|
, a.frst_register_id as frstRegisterId
|
||||||
, a.last_updt_pnttm as lastUpdtPnttm
|
, a.last_updt_pnttm as lastUpdtPnttm
|
||||||
, a.last_updusr_id as lastUpdusrId
|
, a.last_updusr_id as lastUpdusrId
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
<!-- 강사 배정 등록 -->
|
<!-- 강사 배정 등록 -->
|
||||||
<insert id="VEAPrcsAplctPrdInstrAsgnmDAO.instrInsert" parameterClass="VEAPrcsAplctPrdInstrAsgnmVO">
|
<insert id="VEAPrcsAplctPrdInstrAsgnmDAO.instrInsert" parameterClass="VEAPrcsAplctPrdInstrAsgnmVO">
|
||||||
|
|
||||||
INSERT INTO <include refid="VEAPrcsAplctPrdInstrAsgnmDAO.table_name"/> (
|
INSERT INTO <include refid="VEAPrcsAplctPrdInstrAsgnmDAO.table_name"/> (
|
||||||
<include refid="VEAPrcsAplctPrdInstrAsgnmDAO.column_name"/>
|
<include refid="VEAPrcsAplctPrdInstrAsgnmDAO.column_name"/>
|
||||||
)VALUES(
|
)VALUES(
|
||||||
#prcsAplctPrdOrd#
|
#prcsAplctPrdOrd#
|
||||||
, #userId#
|
, #userId#
|
||||||
, #lctrPlanAtchFileId#
|
, #lctrPlanAtchFileId#
|
||||||
, #docAtchFileId#
|
, #docAtchFileId#
|
||||||
, #asgnmAprvlCd#
|
, #asgnmAprvlCd#
|
||||||
, SYSDATE
|
, SYSDATE
|
||||||
, #asgnmAprvlId#
|
, #asgnmAprvlId#
|
||||||
, #rmrks#
|
, #rmrks#
|
||||||
, SYSDATE
|
, SYSDATE
|
||||||
, #frstRegisterId#
|
, #frstRegisterId#
|
||||||
, SYSDATE
|
, SYSDATE
|
||||||
, #lastUpdusrId#
|
, #lastUpdusrId#
|
||||||
)
|
)
|
||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
<!-- 강사 배정 등록 -->
|
<!-- 강사 배정 등록 -->
|
||||||
<insert id="VEAPrcsAplctPrdInstrAsgnmDAO.insertAprvlCdEduAplctDetail" parameterClass="VEPrcsDetailVO">
|
<insert id="VEAPrcsAplctPrdInstrAsgnmDAO.insertAprvlCdEduAplctDetail" parameterClass="VEPrcsDetailVO">
|
||||||
/* VEAPrcsAplctPrdInstrAsgnmDAO.insertAprvlCdEduAplctDetail */
|
/* VEAPrcsAplctPrdInstrAsgnmDAO.insertAprvlCdEduAplctDetail */
|
||||||
INSERT INTO vea_aplct_detail_info
|
INSERT INTO vea_aplct_detail_info
|
||||||
(
|
(
|
||||||
prcs_aplct_prd_ord
|
prcs_aplct_prd_ord
|
||||||
, edu_aplct_ord
|
, edu_aplct_ord
|
||||||
, aplct_state_cd
|
, aplct_state_cd
|
||||||
, aplct_pnttm
|
, aplct_pnttm
|
||||||
, frst_regist_pnttm
|
, frst_regist_pnttm
|
||||||
, frst_register_id
|
, frst_register_id
|
||||||
)
|
)
|
||||||
VALUES
|
VALUES
|
||||||
(
|
(
|
||||||
#prcsAplctPrdOrd#
|
#prcsAplctPrdOrd#
|
||||||
, #eduAplctOrd#
|
, #eduAplctOrd#
|
||||||
, #aplctStateCd#
|
, #aplctStateCd#
|
||||||
, SYSDATE
|
, SYSDATE
|
||||||
, SYSDATE
|
, SYSDATE
|
||||||
, #frstRegisterId#
|
, #frstRegisterId#
|
||||||
)
|
)
|
||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
<select id="VEAPrcsAplctPrdInstrAsgnmDAO.selectAprvlCdEduAplctDetail" parameterClass="VEPrcsDetailVO" resultClass="VEPrcsDetailVO">
|
<select id="VEAPrcsAplctPrdInstrAsgnmDAO.selectAprvlCdEduAplctDetail" parameterClass="VEPrcsDetailVO" resultClass="VEPrcsDetailVO">
|
||||||
select
|
select
|
||||||
prcs_aplct_prd_ord as prcsAplctPrdOrd
|
prcs_aplct_prd_ord as prcsAplctPrdOrd
|
||||||
, edu_aplct_ord as eduAplctOrd
|
, edu_aplct_ord as eduAplctOrd
|
||||||
, aplct_state_cd as aplctStateCd
|
, aplct_state_cd as aplctStateCd
|
||||||
, frst_regist_pnttm as frstRegistPnttm
|
, frst_regist_pnttm as frstRegistPnttm
|
||||||
, frst_register_id as frstRegisterId
|
, frst_register_id as frstRegisterId
|
||||||
from vea_aplct_detail_info
|
from vea_aplct_detail_info
|
||||||
where edu_aplct_ord = #eduAplctOrd#
|
where edu_aplct_ord = #eduAplctOrd#
|
||||||
and prcs_aplct_prd_ord = #prcsAplctPrdOrd#
|
and prcs_aplct_prd_ord = #prcsAplctPrdOrd#
|
||||||
|
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
||||||
<delete id="VEAPrcsAplctPrdInstrAsgnmDAO.updateAprvlCdEduAplctDetail" parameterClass="VEPrcsDetailVO">
|
<delete id="VEAPrcsAplctPrdInstrAsgnmDAO.updateAprvlCdEduAplctDetail" parameterClass="VEPrcsDetailVO">
|
||||||
|
|
||||||
UPDATE vea_aplct_detail_info SET
|
UPDATE vea_aplct_detail_info SET
|
||||||
aplct_state_cd = #aplctStateCd#
|
aplct_state_cd = #aplctStateCd#
|
||||||
, aplct_pnttm = SYSDATE
|
, aplct_pnttm = SYSDATE
|
||||||
WHERE
|
WHERE
|
||||||
edu_aplct_ord = #eduAplctOrd#
|
edu_aplct_ord = #eduAplctOrd#
|
||||||
AND prcs_aplct_prd_ord = #prcsAplctPrdOrd#
|
AND prcs_aplct_prd_ord = #prcsAplctPrdOrd#
|
||||||
|
|
||||||
</delete>
|
</delete>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- 교육 신청자 상태 update -->
|
<!-- 교육 신청자 상태 update -->
|
||||||
<update id="VEAPrcsAplctPrdInstrAsgnmDAO.udpateAprvlCdEduAplct" parameterClass="VEPrcsDetailVO">
|
<update id="VEAPrcsAplctPrdInstrAsgnmDAO.udpateAprvlCdEduAplct" parameterClass="VEPrcsDetailVO">
|
||||||
|
|
||||||
/* VEAPrcsAplctPrdInstrAsgnmDAO.udpateAprvlCdEduAplct */
|
/* VEAPrcsAplctPrdInstrAsgnmDAO.udpateAprvlCdEduAplct */
|
||||||
|
|
||||||
UPDATE VE_EDU_APLCT
|
UPDATE VE_EDU_APLCT
|
||||||
SET aprvl_cd = #aprvlCd#
|
SET aprvl_cd = #aprvlCd#
|
||||||
WHERE edu_aplct_ord IN
|
WHERE edu_aplct_ord IN
|
||||||
<iterate property="eduAplctOrdList" open="(" close=")" conjunction=",">
|
<iterate property="eduAplctOrdList" open="(" close=")" conjunction=",">
|
||||||
#eduAplctOrdList[]#
|
#eduAplctOrdList[]#
|
||||||
</iterate>
|
</iterate>
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
<!-- 교육 신청자 상태 update -->
|
<!-- 교육 신청자 상태 update -->
|
||||||
<update id="VEAPrcsAplctPrdInstrAsgnmDAO.updateAplctStateCdListAjax" parameterClass="VEPrcsDetailVO">
|
<update id="VEAPrcsAplctPrdInstrAsgnmDAO.updateAplctStateCdListAjax" parameterClass="VEPrcsDetailVO">
|
||||||
/* VEAPrcsAplctPrdInstrAsgnmDAO.updateAplctStateCdListAjax */
|
/* VEAPrcsAplctPrdInstrAsgnmDAO.updateAplctStateCdListAjax */
|
||||||
|
|
||||||
UPDATE VEA_APLCT_DETAIL_INFO
|
UPDATE VEA_APLCT_DETAIL_INFO
|
||||||
SET aplct_state_cd = #aplctStateCd#
|
SET aplct_state_cd = #aplctStateCd#
|
||||||
,aplct_pnttm = SYSDATE
|
,aplct_pnttm = SYSDATE
|
||||||
,edu_cmplt_crtfc_nmbr = #eduCmpltCrtfcNmbr#
|
,edu_cmplt_crtfc_nmbr = #eduCmpltCrtfcNmbr#
|
||||||
,last_updusr_id = #lastUpdusrId#
|
,last_updusr_id = #lastUpdusrId#
|
||||||
,last_updt_pnttm = sysdate
|
,last_updt_pnttm = sysdate
|
||||||
WHERE edu_aplct_ord IN
|
WHERE edu_aplct_ord IN
|
||||||
<iterate property="eduAplctOrdList" open="(" close=")" conjunction=",">
|
<iterate property="eduAplctOrdList" open="(" close=")" conjunction=",">
|
||||||
#eduAplctOrdList[]#
|
#eduAplctOrdList[]#
|
||||||
</iterate>
|
</iterate>
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
<!-- 교육 신청자 상태 update -->
|
<!-- 교육 신청자 상태 update -->
|
||||||
<update id="VEAPrcsAplctPrdInstrAsgnmDAO.updateEduStateCdListAjax" parameterClass="VEPrcsDetailVO">
|
<update id="VEAPrcsAplctPrdInstrAsgnmDAO.updateEduStateCdListAjax" parameterClass="VEPrcsDetailVO">
|
||||||
/* VEAPrcsAplctPrdInstrAsgnmDAO.updateEduStateCdListAjax */
|
/* VEAPrcsAplctPrdInstrAsgnmDAO.updateEduStateCdListAjax */
|
||||||
|
|
||||||
UPDATE VEA_SSPN_IDMT_TRGT
|
UPDATE VEA_SSPN_IDMT_TRGT
|
||||||
SET edu_state_cd = #eduStateCd#
|
SET edu_state_cd = #eduStateCd#
|
||||||
WHERE sspn_idtmt_trgt_ord IN
|
WHERE sspn_idtmt_trgt_ord IN
|
||||||
<iterate property="sspnIdtmtTrgtOrdList" open="(" close=")" conjunction=",">
|
<iterate property="sspnIdtmtTrgtOrdList" open="(" close=")" conjunction=",">
|
||||||
#sspnIdtmtTrgtOrdList[]#
|
#sspnIdtmtTrgtOrdList[]#
|
||||||
</iterate>
|
</iterate>
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
<!-- 강사 배정 등록 -->
|
<!-- 강사 배정 등록 -->
|
||||||
<select id="VEAPrcsAplctPrdInstrAsgnmDAO.findByPrcsAplctPrdOrd" parameterClass="String" resultClass="VEAPrcsAplctPrdInstrAsgnmVO">
|
<select id="VEAPrcsAplctPrdInstrAsgnmDAO.findByPrcsAplctPrdOrd" parameterClass="String" resultClass="VEAPrcsAplctPrdInstrAsgnmVO">
|
||||||
/* VEAPrcsAplctPrdInstrAsgnmDAO.findByPrcsAplctPrdOrd */
|
/* VEAPrcsAplctPrdInstrAsgnmDAO.findByPrcsAplctPrdOrd */
|
||||||
|
|
||||||
SELECT
|
SELECT
|
||||||
<include refid="VEAPrcsAplctPrdInstrAsgnmDAO.select_column_name"/>
|
<include refid="VEAPrcsAplctPrdInstrAsgnmDAO.select_column_name"/>
|
||||||
, vid.instr_nm as instrNm
|
, vid.instr_nm as instrNm
|
||||||
, vid.phone
|
, vid.phone
|
||||||
FROM
|
FROM
|
||||||
<include refid="VEAPrcsAplctPrdInstrAsgnmDAO.table_name"/> a
|
<include refid="VEAPrcsAplctPrdInstrAsgnmDAO.table_name"/> a
|
||||||
LEFT JOIN ve_instr_detail vid
|
LEFT JOIN ve_instr_detail vid
|
||||||
ON a.user_id = vid.user_id
|
ON a.user_id = vid.user_id
|
||||||
WHERE 1=1
|
WHERE 1=1
|
||||||
AND a.prcs_aplct_prd_ord = #prcsAplctPrdOrd#
|
AND a.prcs_aplct_prd_ord = #prcsAplctPrdOrd#
|
||||||
AND vid.aprvl_cd ='20' <!-- 변경 승인 -->
|
AND vid.aprvl_cd ='20' <!-- 변경 승인 -->
|
||||||
AND vid.instr_div ='20' <!-- 성인강사 -->
|
AND vid.instr_div ='20' <!-- 성인강사 -->
|
||||||
AND vid.use_yn ='Y'
|
AND vid.use_yn ='Y'
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!-- 강의계획서 update -->
|
<!-- 강의계획서 update -->
|
||||||
<update id="VEAPrcsAplctPrdInstrAsgnmDAO.updatLctrPlanAtchFileId" parameterClass="vEAPrcsAplctPrdInstrAsgnmVO">
|
<update id="VEAPrcsAplctPrdInstrAsgnmDAO.updatLctrPlanAtchFileId" parameterClass="vEAPrcsAplctPrdInstrAsgnmVO">
|
||||||
/* VEAPrcsAplctPrdInstrAsgnmDAO.updatLctrPlanAtchFileId */
|
/* VEAPrcsAplctPrdInstrAsgnmDAO.updatLctrPlanAtchFileId */
|
||||||
|
|
||||||
UPDATE VEA_PRCS_APLCT_PRD_INSTR_ASGNM
|
UPDATE VEA_PRCS_APLCT_PRD_INSTR_ASGNM
|
||||||
SET lctr_plan_atch_file_id = #lctrPlanAtchFileId#
|
SET lctr_plan_atch_file_id = #lctrPlanAtchFileId#
|
||||||
, last_updusr_id = #lastUpdusrId#
|
, last_updusr_id = #lastUpdusrId#
|
||||||
, last_updt_pnttm = sysdate
|
, last_updt_pnttm = sysdate
|
||||||
WHERE prcs_aplct_prd_ord = #prcsAplctPrdOrd#
|
WHERE prcs_aplct_prd_ord = #prcsAplctPrdOrd#
|
||||||
AND user_id = #userId#
|
AND user_id = #userId#
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
<select id="VEAPrcsAplctPrdInstrAsgnmDAO.selectPrcsInstrAsgnmDetail" parameterClass="VEPrcsDetailVO" resultClass="VEAPrcsAplctPrdInstrAsgnmVO">
|
<select id="VEAPrcsAplctPrdInstrAsgnmDAO.selectPrcsInstrAsgnmDetail" parameterClass="VEPrcsDetailVO" resultClass="VEAPrcsAplctPrdInstrAsgnmVO">
|
||||||
/* VEAPrcsAplctPrdInstrAsgnmDAO.selectPrcsInstrAsgnmDetail*/
|
/* VEAPrcsAplctPrdInstrAsgnmDAO.selectPrcsInstrAsgnmDetail*/
|
||||||
SELECT
|
SELECT
|
||||||
<include refid="VEAPrcsAplctPrdInstrAsgnmDAO.select_column_name"/>
|
<include refid="VEAPrcsAplctPrdInstrAsgnmDAO.select_column_name"/>
|
||||||
, vid.instr_nm as instrNm
|
, vid.instr_nm as instrNm
|
||||||
, vid.phone
|
, vid.phone
|
||||||
FROM
|
FROM
|
||||||
<include refid="VEAPrcsAplctPrdInstrAsgnmDAO.table_name"/> a
|
<include refid="VEAPrcsAplctPrdInstrAsgnmDAO.table_name"/> a
|
||||||
LEFT JOIN ve_instr_detail vid
|
LEFT JOIN ve_instr_detail vid
|
||||||
ON a.user_id = vid.user_id
|
ON a.user_id = vid.user_id
|
||||||
WHERE 1=1
|
WHERE 1=1
|
||||||
AND a.prcs_aplct_prd_ord = #prcsAplctPrdOrd#
|
AND a.prcs_aplct_prd_ord = #prcsAplctPrdOrd#
|
||||||
AND vid.aprvl_cd ='20' <!-- 변경 승인 -->
|
AND vid.aprvl_cd ='20' <!-- 변경 승인 -->
|
||||||
AND vid.instr_div ='20' <!-- 성인강사 -->
|
AND vid.instr_div ='20' <!-- 성인강사 -->
|
||||||
AND vid.use_yn ='Y'
|
AND vid.use_yn ='Y'
|
||||||
<isNotEmpty prepend="AND" property="userId">
|
<isNotEmpty prepend="AND" property="userId">
|
||||||
a.user_id = #userId#
|
a.user_id = #userId#
|
||||||
</isNotEmpty>
|
</isNotEmpty>
|
||||||
|
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!-- 결과보고 update -->
|
<!-- 결과보고 update -->
|
||||||
<update id="VEAPrcsAplctPrdInstrAsgnmDAO.updatDocAtchFileId" parameterClass="vEAPrcsAplctPrdInstrAsgnmVO">
|
<update id="VEAPrcsAplctPrdInstrAsgnmDAO.updatDocAtchFileId" parameterClass="vEAPrcsAplctPrdInstrAsgnmVO">
|
||||||
/* VEAPrcsAplctPrdInstrAsgnmDAO.updatDocAtchFileId */
|
/* VEAPrcsAplctPrdInstrAsgnmDAO.updatDocAtchFileId */
|
||||||
|
|
||||||
UPDATE VEA_PRCS_APLCT_PRD_INSTR_ASGNM
|
UPDATE VEA_PRCS_APLCT_PRD_INSTR_ASGNM
|
||||||
SET doc_atch_file_id = #docAtchFileId#
|
SET doc_atch_file_id = #docAtchFileId#
|
||||||
, last_updusr_id = #lastUpdusrId#
|
, last_updusr_id = #lastUpdusrId#
|
||||||
, last_updt_pnttm = sysdate
|
, last_updt_pnttm = sysdate
|
||||||
WHERE prcs_aplct_prd_ord = #prcsAplctPrdOrd#
|
WHERE prcs_aplct_prd_ord = #prcsAplctPrdOrd#
|
||||||
AND user_id = #userId#
|
AND user_id = #userId#
|
||||||
</update>
|
</update>
|
||||||
</sqlMap>
|
|
||||||
|
<!-- 강의계획서/결과보고 reset update -->
|
||||||
|
<update id="VEAPrcsAplctPrdInstrAsgnmDAO.updateResetAtchFileId" parameterClass="vEAPrcsAplctPrdInstrAsgnmVO">
|
||||||
|
/* VEAPrcsAplctPrdInstrAsgnmDAO.updateResetAtchFileId */
|
||||||
|
|
||||||
|
UPDATE VEA_PRCS_APLCT_PRD_INSTR_ASGNM
|
||||||
|
SET last_updt_pnttm = sysdate
|
||||||
|
, last_updusr_id = #lastUpdusrId#
|
||||||
|
|
||||||
|
<isNotEmpty property="docAtchFileId">
|
||||||
|
, doc_atch_file_id = null
|
||||||
|
</isNotEmpty>
|
||||||
|
<isNotEmpty property="lctrPlanAtchFileId">
|
||||||
|
, lctr_plan_atch_file_id = null
|
||||||
|
</isNotEmpty>
|
||||||
|
|
||||||
|
WHERE prcs_aplct_prd_ord = #prcsAplctPrdOrd#
|
||||||
|
|
||||||
|
</update>
|
||||||
|
</sqlMap>
|
||||||
|
|||||||
@ -500,6 +500,8 @@
|
|||||||
AND a0.asgnm_aprvl_cd='30'
|
AND a0.asgnm_aprvl_cd='30'
|
||||||
AND a0.user_id=b.user_id
|
AND a0.user_id=b.user_id
|
||||||
AND b.use_yn='Y'
|
AND b.use_yn='Y'
|
||||||
|
AND b.instr_div='20'
|
||||||
|
|
||||||
) c
|
) c
|
||||||
|
|
||||||
LEFT OUTER JOIN ve_instr_fee f
|
LEFT OUTER JOIN ve_instr_fee f
|
||||||
|
|||||||
@ -188,54 +188,52 @@
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function fncAttachFileCreate(){
|
function fncAttachFileCreate(){
|
||||||
|
|
||||||
alert("구현해야 합니다.");
|
alert("구현해야 합니다.");
|
||||||
}
|
|
||||||
|
|
||||||
// 결과보고서 삭제
|
|
||||||
function fncAttachFileDelete(
|
|
||||||
p_atchFileId
|
|
||||||
, p_eduAplctOrd
|
|
||||||
, p_eduChasiOrd
|
|
||||||
//, p_rprtFileType
|
|
||||||
) { //메뉴생성 화면 호출
|
|
||||||
|
|
||||||
if (!confirm("삭제 하시겠습니까?\n(삭제 후 복구가 불가능합니다.)")) {
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$.ajax({
|
|
||||||
type: "POST",
|
|
||||||
url: "${pageContext.request.contextPath}/kccadr/oprtn/cpyrgExprnClsrm/rsltRprtfileDeleteNewAjax.do",
|
|
||||||
|
|
||||||
//data:{ "atchFileId" : itemId , "fileSn" : fileSn, "eduAplctOrd" : "${eduAplctOrd}", "rprtFileType" : rprtFileType},
|
// 결과보고서 삭제
|
||||||
|
function fncAttachFileDelete(
|
||||||
|
p_atchFileId
|
||||||
|
, p_eduAplctOrd
|
||||||
|
, p_eduChasiOrd
|
||||||
|
//, p_rprtFileType
|
||||||
|
) { //메뉴생성 화면 호출
|
||||||
|
|
||||||
|
if (!confirm("삭제 하시겠습니까?\n(삭제 후 복구가 불가능합니다.)")) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
data: {
|
$.ajax({
|
||||||
"atchFileId" : p_atchFileId
|
type: "POST",
|
||||||
, "eduAplctOrd" : p_eduAplctOrd
|
url: "${pageContext.request.contextPath}/kccadr/oprtn/cpyrgExprnClsrm/rsltRprtfileDeleteNewAjax.do",
|
||||||
, "eduChasiOrd" : p_eduChasiOrd
|
|
||||||
, "rprtFileType" : "rprtAdult"
|
//data:{ "atchFileId" : itemId , "fileSn" : fileSn, "eduAplctOrd" : "${eduAplctOrd}", "rprtFileType" : rprtFileType},
|
||||||
|
|
||||||
|
data: {
|
||||||
|
"atchFileId" : p_atchFileId
|
||||||
|
, "eduAplctOrd" : p_eduAplctOrd
|
||||||
|
, "eduChasiOrd" : p_eduChasiOrd
|
||||||
|
, "rprtFileType" : "rprtAdult"
|
||||||
|
|
||||||
|
},
|
||||||
|
dataType:'json',
|
||||||
|
async: true, // 동기
|
||||||
|
success: function (data, status) {
|
||||||
|
if (data.result == "success") {
|
||||||
|
//alert(JSON.stringify(data.fileList));
|
||||||
|
//setJsonListShow(data.fileList);
|
||||||
|
alert("삭제성공");
|
||||||
|
location.reload();
|
||||||
|
} else {
|
||||||
|
alert("Msg : " + data.msg);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
dataType:'json',
|
error : function(xhr, status, error) {
|
||||||
async: true, // 동기
|
alert("Err : " + JSON.stringify(status));
|
||||||
success: function (data, status) {
|
}
|
||||||
if (data.result == "success") {
|
});
|
||||||
//alert(JSON.stringify(data.fileList));
|
}
|
||||||
//setJsonListShow(data.fileList);
|
|
||||||
alert("삭제성공");
|
|
||||||
location.reload();
|
|
||||||
} else {
|
|
||||||
alert("Msg : " + data.msg);
|
|
||||||
}
|
|
||||||
},
|
|
||||||
error : function(xhr, status, error) {
|
|
||||||
alert("Err : " + JSON.stringify(status));
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
}
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@ -337,6 +337,52 @@
|
|||||||
form.action = "<c:url value='/kccadr/oprtn/fndthEnhanceTrn/popup/lctrEvalNewPopup.do'/>";
|
form.action = "<c:url value='/kccadr/oprtn/fndthEnhanceTrn/popup/lctrEvalNewPopup.do'/>";
|
||||||
openPopupAndSubmitForm('popupNewForm', 'popupNewForm', 900, 1200);
|
openPopupAndSubmitForm('popupNewForm', 'popupNewForm', 900, 1200);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function fncAttachFileCreate(){
|
||||||
|
alert("구현해야 합니다.");
|
||||||
|
}
|
||||||
|
|
||||||
|
// 결과보고서 삭제
|
||||||
|
function fncAttachFileDelete(
|
||||||
|
p_atchFileId
|
||||||
|
, p_prcsAplctPrdOrd
|
||||||
|
, p_rprtFileType
|
||||||
|
//, p_rprtFileType
|
||||||
|
) { //메뉴생성 화면 호출
|
||||||
|
|
||||||
|
if (!confirm("삭제 하시겠습니까?\n(삭제 후 복구가 불가능합니다.)")) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
$.ajax({
|
||||||
|
type: "POST",
|
||||||
|
url: "${pageContext.request.contextPath}/kccadr/oprtn/cpyrgExprnClsrm/rsltRprtfileDeleteNewAjax.do",
|
||||||
|
|
||||||
|
//data:{ "atchFileId" : itemId , "fileSn" : fileSn, "eduAplctOrd" : "${eduAplctOrd}", "rprtFileType" : rprtFileType},
|
||||||
|
|
||||||
|
data: {
|
||||||
|
"atchFileId" : p_atchFileId
|
||||||
|
, "prcsAplctPrdOrd" : p_prcsAplctPrdOrd
|
||||||
|
, "rprtFileType" : p_rprtFileType
|
||||||
|
|
||||||
|
},
|
||||||
|
dataType:'json',
|
||||||
|
async: true, // 동기
|
||||||
|
success: function (data, status) {
|
||||||
|
if (data.result == "success") {
|
||||||
|
//alert(JSON.stringify(data.fileList));
|
||||||
|
//setJsonListShow(data.fileList);
|
||||||
|
alert("삭제성공");
|
||||||
|
location.reload();
|
||||||
|
} else {
|
||||||
|
alert("Msg : " + data.msg);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
error : function(xhr, status, error) {
|
||||||
|
alert("Err : " + JSON.stringify(status));
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
@ -534,11 +580,29 @@
|
|||||||
<c:import url="/cmm/fms/selectBBSFileInfs.do" charEncoding="utf-8">
|
<c:import url="/cmm/fms/selectBBSFileInfs.do" charEncoding="utf-8">
|
||||||
<c:param name="param_atchFileId" value="${list.lctrPlanAtchFileId}" />
|
<c:param name="param_atchFileId" value="${list.lctrPlanAtchFileId}" />
|
||||||
</c:import>
|
</c:import>
|
||||||
|
<!-- 강의계획서 삭제 -->
|
||||||
|
<c:if test="${!empty list.lctrPlanAtchFileId}">
|
||||||
|
<button type="button" class="btn_type06" onclick="fncAttachFileDelete('${list.lctrPlanAtchFileId}', '${list.prcsAplctPrdOrd}', 'planCndtn')">강의계획서 삭제</button>
|
||||||
|
</c:if>
|
||||||
|
|
||||||
|
<!-- 강의계획서 등록 -->
|
||||||
|
<c:if test="${empty list.lctrPlanAtchFileId}">
|
||||||
|
<button type="button" class="btn_type06" onclick="fncAttachFileCreate('${list.lctrPlanAtchFileId}', '${list.prcsAplctPrdOrd}', 'planCndtn')">강의계획서 등록</button>
|
||||||
|
</c:if>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<c:import url="/cmm/fms/selectBBSFileInfs.do" charEncoding="utf-8">
|
<c:import url="/cmm/fms/selectBBSFileInfs.do" charEncoding="utf-8">
|
||||||
<c:param name="param_atchFileId" value="${list.docAtchFileId}" />
|
<c:param name="param_atchFileId" value="${list.docAtchFileId}" />
|
||||||
</c:import>
|
</c:import>
|
||||||
|
<!-- 결과보고서 삭제 -->
|
||||||
|
<c:if test="${!empty list.docAtchFileId}">
|
||||||
|
<button type="button" class="btn_type06" onclick="fncAttachFileDelete('${list.docAtchFileId}', '${list.prcsAplctPrdOrd}', 'rprtCndtn')">결과보고서 삭제</button>
|
||||||
|
</c:if>
|
||||||
|
|
||||||
|
<!-- 결과보고서 등록 -->
|
||||||
|
<c:if test="${empty list.docAtchFileId}">
|
||||||
|
<button type="button" class="btn_type06" onclick="fncAttachFileCreate('${list.docAtchFileId}', '${list.prcsAplctPrdOrd}', 'rprtCndtn')">결과보고서 등록</button>
|
||||||
|
</c:if>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<button type="button" class="btn_type01" onclick="fn_delInstr('<c:out value="${list.userId }" />')">삭제</button>
|
<button type="button" class="btn_type01" onclick="fn_delInstr('<c:out value="${list.userId }" />')">삭제</button>
|
||||||
|
|||||||
@ -291,7 +291,52 @@
|
|||||||
alert("발송되었습니다.");
|
alert("발송되었습니다.");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function fncAttachFileCreate(){
|
||||||
|
alert("구현해야 합니다.");
|
||||||
|
}
|
||||||
|
|
||||||
|
// 결과보고서 삭제
|
||||||
|
function fncAttachFileDelete(
|
||||||
|
p_atchFileId
|
||||||
|
, p_prcsAplctPrdOrd
|
||||||
|
, p_rprtFileType
|
||||||
|
//, p_rprtFileType
|
||||||
|
) { //메뉴생성 화면 호출
|
||||||
|
|
||||||
|
if (!confirm("삭제 하시겠습니까?\n(삭제 후 복구가 불가능합니다.)")) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
$.ajax({
|
||||||
|
type: "POST",
|
||||||
|
url: "${pageContext.request.contextPath}/kccadr/oprtn/cpyrgExprnClsrm/rsltRprtfileDeleteNewAjax.do",
|
||||||
|
|
||||||
|
//data:{ "atchFileId" : itemId , "fileSn" : fileSn, "eduAplctOrd" : "${eduAplctOrd}", "rprtFileType" : rprtFileType},
|
||||||
|
|
||||||
|
data: {
|
||||||
|
"atchFileId" : p_atchFileId
|
||||||
|
, "prcsAplctPrdOrd" : p_prcsAplctPrdOrd
|
||||||
|
, "rprtFileType" : p_rprtFileType
|
||||||
|
|
||||||
|
},
|
||||||
|
dataType:'json',
|
||||||
|
async: true, // 동기
|
||||||
|
success: function (data, status) {
|
||||||
|
if (data.result == "success") {
|
||||||
|
//alert(JSON.stringify(data.fileList));
|
||||||
|
//setJsonListShow(data.fileList);
|
||||||
|
alert("삭제성공");
|
||||||
|
location.reload();
|
||||||
|
} else {
|
||||||
|
alert("Msg : " + data.msg);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
error : function(xhr, status, error) {
|
||||||
|
alert("Err : " + JSON.stringify(status));
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
@ -492,15 +537,35 @@
|
|||||||
<td>
|
<td>
|
||||||
<ve:code codeId="VE0019" code="${list.asgnmAprvlCd}"/>
|
<ve:code codeId="VE0019" code="${list.asgnmAprvlCd}"/>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<c:import url="/cmm/fms/selectBBSFileInfs.do" charEncoding="utf-8">
|
<c:import url="/cmm/fms/selectBBSFileInfs.do" charEncoding="utf-8">
|
||||||
<c:param name="param_atchFileId" value="${list.lctrPlanAtchFileId}" />
|
<c:param name="param_atchFileId" value="${list.lctrPlanAtchFileId}" />
|
||||||
</c:import>
|
</c:import>
|
||||||
|
<!-- 강의계획서 삭제 -->
|
||||||
|
<c:if test="${!empty list.lctrPlanAtchFileId}">
|
||||||
|
<button type="button" class="btn_type06" onclick="fncAttachFileDelete('${list.lctrPlanAtchFileId}', '${list.prcsAplctPrdOrd}', 'planFndth')">강의계획서 삭제</button>
|
||||||
|
</c:if>
|
||||||
|
|
||||||
|
<!-- 강의계획서 등록 -->
|
||||||
|
<c:if test="${empty list.lctrPlanAtchFileId}">
|
||||||
|
<button type="button" class="btn_type06" onclick="fncAttachFileCreate('${list.lctrPlanAtchFileId}', '${list.prcsAplctPrdOrd}', 'planFndth')">강의계획서 등록</button>
|
||||||
|
</c:if>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<c:import url="/cmm/fms/selectBBSFileInfs.do" charEncoding="utf-8">
|
<c:import url="/cmm/fms/selectBBSFileInfs.do" charEncoding="utf-8">
|
||||||
<c:param name="param_atchFileId" value="${list.docAtchFileId}" />
|
<c:param name="param_atchFileId" value="${list.docAtchFileId}" />
|
||||||
</c:import>
|
</c:import>
|
||||||
|
|
||||||
|
<!-- 결과보고서 삭제 -->
|
||||||
|
<c:if test="${!empty list.docAtchFileId}">
|
||||||
|
<button type="button" class="btn_type06" onclick="fncAttachFileDelete('${list.docAtchFileId}', '${list.prcsAplctPrdOrd}', 'rprtFndth')">결과보고서 삭제</button>
|
||||||
|
</c:if>
|
||||||
|
|
||||||
|
<!-- 결과보고서 등록 -->
|
||||||
|
<c:if test="${empty list.docAtchFileId}">
|
||||||
|
<button type="button" class="btn_type06" onclick="fncAttachFileCreate('${list.docAtchFileId}', '${list.prcsAplctPrdOrd}', 'rprtFndth')">결과보고서 등록</button>
|
||||||
|
</c:if>
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<button type="button" class="btn_type01" onclick="fn_delInstr('<c:out value="${list.userId }" />')">삭제</button>
|
<button type="button" class="btn_type01" onclick="fn_delInstr('<c:out value="${list.userId }" />')">삭제</button>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user