서버에 저장되어있는 파일 경로 수정.

main
jjh 1 year ago
parent 956aadf74e
commit 7e77c228f0

@ -128,13 +128,10 @@ public class Excl03ServiceBean extends AbstractServiceBean implements Excl03Serv
List<FileInfo> fileInfoList = new ArrayList<FileInfo>();
if (!infoCrdnFileList.isEmpty() && infoCrdnFileList.size() > 0) {
// 현재 경로를 구한다.
String curWorkingDir = System.getProperty("user.dir");
List<File> files = new ArrayList<>();
for (int iLoop = 0; iLoop < infoCrdnFileList.size(); iLoop++) {
files.add(new File(curWorkingDir + File.separator + infoCrdnFileList.get(iLoop).string("FILE_PATH")));
files.add(new File(infoCrdnFileList.get(iLoop).string("FILE_PATH")));
}
fileInfoList = new FileInfoFactory().createFileInfos(null, files);

Loading…
Cancel
Save