이지우 - 관리자 > 과정관리 > 과정신청기간관리 > 첨부파일 수정, 강사 주소지 수정
This commit is contained in:
parent
e2866776d3
commit
216582111f
@ -2853,15 +2853,26 @@ public class CmdPrcsInfoMngController {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
//step2.파일 처리====================================
|
//step2.첨부파일 체크 후 저장 하기
|
||||||
//파일 정상 처리 여부와 첨부 파일 정보
|
String atchFileId = "";
|
||||||
//String atchFileId = this.takeFile(multiRequest, modelAndView, bmVO);
|
atchFileId = vEPrcsDetailVO.getAtchFileId();
|
||||||
|
|
||||||
|
//DB에서 실제 첨부파일 존재 여부 확인
|
||||||
|
FileVO fileVO = new FileVO();
|
||||||
|
fileVO.setAtchFileId(atchFileId);
|
||||||
|
List<FileVO> result = fileService.selectFileInfs(fileVO);
|
||||||
|
if (result.size()<=0) {
|
||||||
|
atchFileId = "";
|
||||||
|
}
|
||||||
|
|
||||||
//파일 제한 수량 가져오기, 없으면 기본값 사용
|
//파일 제한 수량 가져오기, 없으면 기본값 사용
|
||||||
int i_file_limit = checkFileUtil.getLimitCount(request); // file count
|
int i_file_limit = checkFileUtil.getLimitCount(request); // file count
|
||||||
int i_limit_size = checkFileUtil.getLimitSize(request); // file MB
|
int i_limit_size = checkFileUtil.getLimitSize(request); // file MB
|
||||||
String s_file_exts = checkFileUtil.getS_exts(); // file exts
|
String s_file_exts = checkFileUtil.getS_exts(); // file exts
|
||||||
|
|
||||||
String atchFileId = checkFileUtil.fileValCheckNdbInsert(
|
if ("".equals(atchFileId)) {
|
||||||
|
//파일 정상 처리 여부와 첨부 파일 정보
|
||||||
|
atchFileId = checkFileUtil.fileValCheckNdbInsert(
|
||||||
multiRequest, modelAndView
|
multiRequest, modelAndView
|
||||||
, "APLCT_" //file_name_prefix
|
, "APLCT_" //file_name_prefix
|
||||||
, s_file_exts
|
, s_file_exts
|
||||||
@ -2869,6 +2880,19 @@ public class CmdPrcsInfoMngController {
|
|||||||
, i_file_limit
|
, i_file_limit
|
||||||
); //EXT, MB size and ea
|
); //EXT, MB size and ea
|
||||||
|
|
||||||
|
}else {
|
||||||
|
|
||||||
|
atchFileId = checkFileUtil.fileValCheckNdbUpdate(
|
||||||
|
multiRequest, modelAndView
|
||||||
|
, "APLCT_"
|
||||||
|
, s_file_exts
|
||||||
|
, i_limit_size
|
||||||
|
, i_file_limit
|
||||||
|
, atchFileId
|
||||||
|
); //EXT, MB size and ea
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
if ("ERROR".equals(atchFileId)) return modelAndView;
|
if ("ERROR".equals(atchFileId)) return modelAndView;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -2848,16 +2848,26 @@ public class CndtnPrcsInfoMngController {
|
|||||||
SsoLoginVO ssoLoginVO = checkLoginUtil.getSSOLoginVO(request); //SSO 로그인 정보 가져오기
|
SsoLoginVO ssoLoginVO = checkLoginUtil.getSSOLoginVO(request); //SSO 로그인 정보 가져오기
|
||||||
|
|
||||||
|
|
||||||
|
//step2.첨부파일 체크 후 저장 하기
|
||||||
|
String atchFileId = "";
|
||||||
|
atchFileId = vEPrcsDetailVO.getAtchFileId();
|
||||||
|
|
||||||
|
//DB에서 실제 첨부파일 존재 여부 확인
|
||||||
|
FileVO fileVO = new FileVO();
|
||||||
|
fileVO.setAtchFileId(atchFileId);
|
||||||
|
List<FileVO> result = fileService.selectFileInfs(fileVO);
|
||||||
|
if (result.size()<=0) {
|
||||||
|
atchFileId = "";
|
||||||
|
}
|
||||||
|
|
||||||
//step2.파일 처리====================================
|
|
||||||
//파일 정상 처리 여부와 첨부 파일 정보
|
|
||||||
//String atchFileId = this.takeFile(multiRequest, modelAndView, bmVO);
|
|
||||||
//파일 제한 수량 가져오기, 없으면 기본값 사용
|
//파일 제한 수량 가져오기, 없으면 기본값 사용
|
||||||
int i_file_limit = checkFileUtil.getLimitCount(request); // file count
|
int i_file_limit = checkFileUtil.getLimitCount(request); // file count
|
||||||
int i_limit_size = checkFileUtil.getLimitSize(request); // file MB
|
int i_limit_size = checkFileUtil.getLimitSize(request); // file MB
|
||||||
String s_file_exts = checkFileUtil.getS_exts(); // file exts
|
String s_file_exts = checkFileUtil.getS_exts(); // file exts
|
||||||
|
|
||||||
String atchFileId = checkFileUtil.fileValCheckNdbInsert(
|
if ("".equals(atchFileId)) {
|
||||||
|
//파일 정상 처리 여부와 첨부 파일 정보
|
||||||
|
atchFileId = checkFileUtil.fileValCheckNdbInsert(
|
||||||
multiRequest, modelAndView
|
multiRequest, modelAndView
|
||||||
, "APLCT_" //file_name_prefix
|
, "APLCT_" //file_name_prefix
|
||||||
, s_file_exts
|
, s_file_exts
|
||||||
@ -2865,6 +2875,19 @@ public class CndtnPrcsInfoMngController {
|
|||||||
, i_file_limit
|
, i_file_limit
|
||||||
); //EXT, MB size and ea
|
); //EXT, MB size and ea
|
||||||
|
|
||||||
|
}else {
|
||||||
|
|
||||||
|
atchFileId = checkFileUtil.fileValCheckNdbUpdate(
|
||||||
|
multiRequest, modelAndView
|
||||||
|
, "APLCT_"
|
||||||
|
, s_file_exts
|
||||||
|
, i_limit_size
|
||||||
|
, i_file_limit
|
||||||
|
, atchFileId
|
||||||
|
); //EXT, MB size and ea
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
if ("ERROR".equals(atchFileId)) return modelAndView;
|
if ("ERROR".equals(atchFileId)) return modelAndView;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -2654,15 +2654,26 @@ public class PreventMngController {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
//step2.파일 처리====================================
|
//step2.첨부파일 체크 후 저장 하기
|
||||||
//파일 정상 처리 여부와 첨부 파일 정보
|
String atchFileId = "";
|
||||||
//String atchFileId = this.takeFile(multiRequest, modelAndView, bmVO);
|
atchFileId = vEPrcsDetailVO.getAtchFileId();
|
||||||
|
|
||||||
|
//DB에서 실제 첨부파일 존재 여부 확인
|
||||||
|
FileVO fileVO = new FileVO();
|
||||||
|
fileVO.setAtchFileId(atchFileId);
|
||||||
|
List<FileVO> result = fileService.selectFileInfs(fileVO);
|
||||||
|
if (result.size()<=0) {
|
||||||
|
atchFileId = "";
|
||||||
|
}
|
||||||
|
|
||||||
//파일 제한 수량 가져오기, 없으면 기본값 사용
|
//파일 제한 수량 가져오기, 없으면 기본값 사용
|
||||||
int i_file_limit = checkFileUtil.getLimitCount(request); // file count
|
int i_file_limit = checkFileUtil.getLimitCount(request); // file count
|
||||||
int i_limit_size = checkFileUtil.getLimitSize(request); // file MB
|
int i_limit_size = checkFileUtil.getLimitSize(request); // file MB
|
||||||
String s_file_exts = checkFileUtil.getS_exts(); // file exts
|
String s_file_exts = checkFileUtil.getS_exts(); // file exts
|
||||||
|
|
||||||
String atchFileId = checkFileUtil.fileValCheckNdbInsert(
|
if ("".equals(atchFileId)) {
|
||||||
|
//파일 정상 처리 여부와 첨부 파일 정보
|
||||||
|
atchFileId = checkFileUtil.fileValCheckNdbInsert(
|
||||||
multiRequest, modelAndView
|
multiRequest, modelAndView
|
||||||
, "APLCT_" //file_name_prefix
|
, "APLCT_" //file_name_prefix
|
||||||
, s_file_exts
|
, s_file_exts
|
||||||
@ -2670,6 +2681,19 @@ public class PreventMngController {
|
|||||||
, i_file_limit
|
, i_file_limit
|
||||||
); //EXT, MB size and ea
|
); //EXT, MB size and ea
|
||||||
|
|
||||||
|
}else {
|
||||||
|
|
||||||
|
atchFileId = checkFileUtil.fileValCheckNdbUpdate(
|
||||||
|
multiRequest, modelAndView
|
||||||
|
, "APLCT_"
|
||||||
|
, s_file_exts
|
||||||
|
, i_limit_size
|
||||||
|
, i_file_limit
|
||||||
|
, atchFileId
|
||||||
|
); //EXT, MB size and ea
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
if ("ERROR".equals(atchFileId)) return modelAndView;
|
if ("ERROR".equals(atchFileId)) return modelAndView;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -225,6 +225,7 @@
|
|||||||
</form:form>
|
</form:form>
|
||||||
<form:form id="createForm" name="createForm" commandName="vEPrcsDetailVO" method="post">
|
<form:form id="createForm" name="createForm" commandName="vEPrcsDetailVO" method="post">
|
||||||
<input type="hidden" name="prcsAplctPrdOrd" value="<c:out value='${vEPrcsDetailVO.prcsAplctPrdOrd}' default='1' />"/>
|
<input type="hidden" name="prcsAplctPrdOrd" value="<c:out value='${vEPrcsDetailVO.prcsAplctPrdOrd}' default='1' />"/>
|
||||||
|
<input type="hidden" name="atchFileId" value="<c:out value='${info.atchFileId}' />" />
|
||||||
<!-- cont -->
|
<!-- cont -->
|
||||||
<div class="cont_wrap">
|
<div class="cont_wrap">
|
||||||
<div class="box">
|
<div class="box">
|
||||||
|
|||||||
@ -141,9 +141,9 @@
|
|||||||
<table>
|
<table>
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col style="width: 11%;">
|
<col style="width: 11%;">
|
||||||
<col style="width: 15%;">
|
|
||||||
<%-- <col style="width: 10%"> --%>
|
|
||||||
<col style="width: auto;">
|
<col style="width: auto;">
|
||||||
|
<%-- <col style="width: 10%"> --%>
|
||||||
|
<col style="width: 15%;">
|
||||||
<col style="width: 15%;">
|
<col style="width: 15%;">
|
||||||
<col style="width: 15%;">
|
<col style="width: 15%;">
|
||||||
<%-- <col style="width: 9%;"> --%>
|
<%-- <col style="width: 9%;"> --%>
|
||||||
@ -152,7 +152,7 @@
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="col">이름</th>
|
<th scope="col">이름</th>
|
||||||
<th scope="col">거주<br>지역</th>
|
<th scope="col">주소</th>
|
||||||
<!-- <th scope="col">이동<br>거리</th> -->
|
<!-- <th scope="col">이동<br>거리</th> -->
|
||||||
<th scope="col">선호분야</th>
|
<th scope="col">선호분야</th>
|
||||||
<th scope="col">온라인</th>
|
<th scope="col">온라인</th>
|
||||||
@ -165,7 +165,7 @@
|
|||||||
<c:forEach var="list" items="${list}" varStatus="status">
|
<c:forEach var="list" items="${list}" varStatus="status">
|
||||||
<tr>
|
<tr>
|
||||||
<td><c:out value='${list.instrNm}'/></td>
|
<td><c:out value='${list.instrNm}'/></td>
|
||||||
<td><c:out value='${list.rsdne}'/></td>
|
<td><c:out value='${list.addr}'/> <c:out value='${list.addrDetail}'/></td>
|
||||||
<%-- <td><c:out value='${list.onewayDstnc}'/>Km</td> --%>
|
<%-- <td><c:out value='${list.onewayDstnc}'/>Km</td> --%>
|
||||||
|
|
||||||
<td><ve:code codeId="VE0004" code="${list.prfrnFldCd}"/></td>
|
<td><ve:code codeId="VE0004" code="${list.prfrnFldCd}"/></td>
|
||||||
|
|||||||
@ -225,6 +225,7 @@
|
|||||||
</form:form>
|
</form:form>
|
||||||
<form:form id="createForm" name="createForm" commandName="vEPrcsDetailVO" method="post">
|
<form:form id="createForm" name="createForm" commandName="vEPrcsDetailVO" method="post">
|
||||||
<input type="hidden" name="prcsAplctPrdOrd" value="<c:out value='${vEPrcsDetailVO.prcsAplctPrdOrd}' default='1' />"/>
|
<input type="hidden" name="prcsAplctPrdOrd" value="<c:out value='${vEPrcsDetailVO.prcsAplctPrdOrd}' default='1' />"/>
|
||||||
|
<input type="hidden" name="atchFileId" value="<c:out value='${info.atchFileId}' />" />
|
||||||
<!-- cont -->
|
<!-- cont -->
|
||||||
<div class="cont_wrap">
|
<div class="cont_wrap">
|
||||||
<div class="box">
|
<div class="box">
|
||||||
|
|||||||
@ -141,9 +141,9 @@
|
|||||||
<table>
|
<table>
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col style="width: 11%;">
|
<col style="width: 11%;">
|
||||||
<col style="width: 15%;">
|
|
||||||
<%-- <col style="width: 10%"> --%>
|
|
||||||
<col style="width: auto;">
|
<col style="width: auto;">
|
||||||
|
<%-- <col style="width: 10%"> --%>
|
||||||
|
<col style="width: 15%;">
|
||||||
<col style="width: 15%;">
|
<col style="width: 15%;">
|
||||||
<col style="width: 15%;">
|
<col style="width: 15%;">
|
||||||
<%-- <col style="width: 9%;"> --%>
|
<%-- <col style="width: 9%;"> --%>
|
||||||
@ -152,7 +152,7 @@
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="col">이름</th>
|
<th scope="col">이름</th>
|
||||||
<th scope="col">거주<br>지역</th>
|
<th scope="col">주소</th>
|
||||||
<!-- <th scope="col">이동<br>거리</th> -->
|
<!-- <th scope="col">이동<br>거리</th> -->
|
||||||
<th scope="col">선호분야</th>
|
<th scope="col">선호분야</th>
|
||||||
<th scope="col">온라인</th>
|
<th scope="col">온라인</th>
|
||||||
@ -165,7 +165,7 @@
|
|||||||
<c:forEach var="list" items="${list}" varStatus="status">
|
<c:forEach var="list" items="${list}" varStatus="status">
|
||||||
<tr>
|
<tr>
|
||||||
<td><c:out value='${list.instrNm}'/></td>
|
<td><c:out value='${list.instrNm}'/></td>
|
||||||
<td><c:out value='${list.rsdne}'/></td>
|
<td><c:out value='${list.addr}'/> <c:out value='${list.addrDetail}'/></td>
|
||||||
<%-- <td><c:out value='${list.onewayDstnc}'/>Km</td> --%>
|
<%-- <td><c:out value='${list.onewayDstnc}'/>Km</td> --%>
|
||||||
|
|
||||||
<td><ve:code codeId="VE0004" code="${list.prfrnFldCd}"/></td>
|
<td><ve:code codeId="VE0004" code="${list.prfrnFldCd}"/></td>
|
||||||
|
|||||||
@ -225,6 +225,7 @@
|
|||||||
</form:form>
|
</form:form>
|
||||||
<form:form id="createForm" name="createForm" commandName="vEPrcsDetailVO" method="post">
|
<form:form id="createForm" name="createForm" commandName="vEPrcsDetailVO" method="post">
|
||||||
<input type="hidden" name="prcsAplctPrdOrd" value="<c:out value='${vEPrcsDetailVO.prcsAplctPrdOrd}' default='1' />"/>
|
<input type="hidden" name="prcsAplctPrdOrd" value="<c:out value='${vEPrcsDetailVO.prcsAplctPrdOrd}' default='1' />"/>
|
||||||
|
<input type="hidden" name="atchFileId" value="<c:out value='${info.atchFileId}' />" />
|
||||||
<!-- cont -->
|
<!-- cont -->
|
||||||
<div class="cont_wrap">
|
<div class="cont_wrap">
|
||||||
<div class="box">
|
<div class="box">
|
||||||
|
|||||||
@ -141,9 +141,9 @@
|
|||||||
<table>
|
<table>
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col style="width: 11%;">
|
<col style="width: 11%;">
|
||||||
<col style="width: 15%;">
|
|
||||||
<%-- <col style="width: 10%"> --%>
|
|
||||||
<col style="width: auto;">
|
<col style="width: auto;">
|
||||||
|
<%-- <col style="width: 10%"> --%>
|
||||||
|
<col style="width: 15%;">
|
||||||
<col style="width: 15%;">
|
<col style="width: 15%;">
|
||||||
<col style="width: 15%;">
|
<col style="width: 15%;">
|
||||||
<%-- <col style="width: 9%;"> --%>
|
<%-- <col style="width: 9%;"> --%>
|
||||||
@ -152,7 +152,7 @@
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="col">이름</th>
|
<th scope="col">이름</th>
|
||||||
<th scope="col">거주<br>지역</th>
|
<th scope="col">주소</th>
|
||||||
<!-- <th scope="col">이동<br>거리</th> -->
|
<!-- <th scope="col">이동<br>거리</th> -->
|
||||||
<th scope="col">선호분야</th>
|
<th scope="col">선호분야</th>
|
||||||
<th scope="col">온라인</th>
|
<th scope="col">온라인</th>
|
||||||
@ -165,7 +165,7 @@
|
|||||||
<c:forEach var="list" items="${list}" varStatus="status">
|
<c:forEach var="list" items="${list}" varStatus="status">
|
||||||
<tr>
|
<tr>
|
||||||
<td><c:out value='${list.instrNm}'/></td>
|
<td><c:out value='${list.instrNm}'/></td>
|
||||||
<td><c:out value='${list.rsdne}'/></td>
|
<td><c:out value='${list.addr}'/> <c:out value='${list.addrDetail}'/></td>
|
||||||
<%-- <td><c:out value='${list.onewayDstnc}'/>Km</td> --%>
|
<%-- <td><c:out value='${list.onewayDstnc}'/>Km</td> --%>
|
||||||
|
|
||||||
<td><ve:code codeId="VE0004" code="${list.prfrnFldCd}"/></td>
|
<td><ve:code codeId="VE0004" code="${list.prfrnFldCd}"/></td>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user