2024-03-25 15:45 청소년 결과보고서 제출시 오류 수정 필요
This commit is contained in:
parent
e7b637f3b4
commit
ba86b082c3
@ -606,12 +606,18 @@ public class VEEduEndController {
|
||||
fileCheck.setAtchFileId(s_atchFileId);
|
||||
result = fileService.selectFileInfs(fileCheck);
|
||||
|
||||
for(int i=0; i < result.size(); i++) {
|
||||
String orignlFileNm = vEInstrDetailVOInfo.getInstrNm()+"강사_"+vEInstrAsgnmVOInfo.getScholInsttNm()+" 결과보고서 ("+vEInstrAsgnmVOInfo.getEduHopeDt()+"_"+vEInstrAsgnmVOInfo.getStrtTm()+"-"+vEInstrAsgnmVOInfo.getEndTm()+")";
|
||||
orignlFileNm = orignlFileNm+"_"+(i+1);
|
||||
orignlFileNm = orignlFileNm +"."+ result.get(i).getFileExtsn();
|
||||
result.get(i).setOrignlFileNm(orignlFileNm);
|
||||
fileService.updateFileName(result.get(i));
|
||||
try {
|
||||
for(int i=0; i < result.size(); i++) {
|
||||
String orignlFileNm = vEInstrDetailVOInfo.getInstrNm()+"강사_"+vEInstrAsgnmVOInfo.getScholInsttNm()+" 결과보고서 ("+vEInstrAsgnmVOInfo.getEduHopeDt()+"_"+vEInstrAsgnmVOInfo.getStrtTm()+"-"+vEInstrAsgnmVOInfo.getEndTm()+")";
|
||||
orignlFileNm = orignlFileNm+"_"+(i+1);
|
||||
orignlFileNm = orignlFileNm +"."+ result.get(i).getFileExtsn();
|
||||
result.get(i).setOrignlFileNm(orignlFileNm);
|
||||
fileService.updateFileName(result.get(i));
|
||||
}
|
||||
|
||||
}catch(Exception ex) {
|
||||
System.out.println("Exception vEEduRsltRprtService.insert-upper for ");
|
||||
ex.printStackTrace();
|
||||
}
|
||||
|
||||
//결과 저장
|
||||
@ -628,6 +634,7 @@ public class VEEduEndController {
|
||||
|
||||
}catch(Exception ex) {
|
||||
System.out.println("Exception vEEduRsltRprtService.insert");
|
||||
ex.printStackTrace();
|
||||
}
|
||||
|
||||
modelAndView.addObject("result", "success");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user