diff --git a/src/main/java/cokr/xit/fims/FimsApplication.java b/src/main/java/cokr/xit/fims/FimsApplication.java index 8e0d7ef7..a718b147 100644 --- a/src/main/java/cokr/xit/fims/FimsApplication.java +++ b/src/main/java/cokr/xit/fims/FimsApplication.java @@ -50,7 +50,7 @@ public class FimsApplication extends XitBaseApplication { String toFileName = CmmnUtil.appendFileName(fileName,"-"+suffix); File file = new ClassPathResource(fileName).getFile(); File toFile = new ClassPathResource(toFileName).getFile(); - Files.copy(file.toPath(), toFile.toPath(), StandardCopyOption.REPLACE_EXISTING); + Files.copy(toFile.toPath(), file.toPath(), StandardCopyOption. REPLACE_EXISTING); } catch (IOException e) { e.printStackTrace(); }