diff --git a/src/main/java/cokr/xit/fims/cmmn/web/StngController.java b/src/main/java/cokr/xit/fims/cmmn/web/StngController.java index 1379de20..0caa58da 100644 --- a/src/main/java/cokr/xit/fims/cmmn/web/StngController.java +++ b/src/main/java/cokr/xit/fims/cmmn/web/StngController.java @@ -156,7 +156,7 @@ public class StngController extends ApplicationController { ManagedUser currentUser = (ManagedUser) currentUser().getUser(); String sggCd = currentUser.getOrgID(); - String bgPath = "files/background/"+sggCd; + String bgPath = "files/etc/background/"+sggCd; String ext = FilenameUtils.getExtension(backgroundFile.getOriginalFilename()); String fileName = otptForm.getTaskSeCd()+"-"+otptForm.getSndngSeCd()+"-"+otptForm.getPaperSeCd()+"."+ext; diff --git a/src/main/java/cokr/xit/fims/mngt/web/Mngt03Controller.java b/src/main/java/cokr/xit/fims/mngt/web/Mngt03Controller.java index f8cec35e..dfd55317 100644 --- a/src/main/java/cokr/xit/fims/mngt/web/Mngt03Controller.java +++ b/src/main/java/cokr/xit/fims/mngt/web/Mngt03Controller.java @@ -178,7 +178,7 @@ public class Mngt03Controller extends ApplicationController { private Map uploadForSgg(MultipartFile mf, String sggCd, String fileSe){ Map newFileInfoMap = new HashMap<>(); - String workDirPath = "files/"+fileSe; + String workDirPath = "files/etc/"+fileSe; String ext = FilenameUtils.getExtension(mf.getOriginalFilename()); String fileName = sggCd+"."+ext; @@ -192,13 +192,13 @@ public class Mngt03Controller extends ApplicationController { File newFile = new File(newFileFullPath); if(newFile.exists()) { if(!newFile.delete()) { - throw new RuntimeException("[F]배경 이미지 업로드 중 오류가 발생하였습니다."); + throw new RuntimeException("[F]이미지 업로드 중 오류가 발생하였습니다."); } } mf.transferTo(newFile); } catch (Exception e) { - throw new RuntimeException("[F]배경 이미지 업로드 중 오류가 발생하였습니다."); + throw new RuntimeException("[F]이미지 업로드 중 오류가 발생하였습니다."); } newFileInfoMap.put("filePath", newFileFullPath);