diff --git a/src/main/java/xyz/wbsite/dbtool/javafx/manger/callable/SpringBootCallable.java b/src/main/java/xyz/wbsite/dbtool/javafx/manger/callable/SpringBootCallable.java index 24c43367..618e115a 100644 --- a/src/main/java/xyz/wbsite/dbtool/javafx/manger/callable/SpringBootCallable.java +++ b/src/main/java/xyz/wbsite/dbtool/javafx/manger/callable/SpringBootCallable.java @@ -842,13 +842,12 @@ public class SpringBootCallable implements Callable { ctx.put("moduleName", project.getProjectName()); ctx.put("author", project.getProjectAuthor()); ctx.put("date", new Date()); - File file = Tool.createPath(root.getAbsolutePath(), "UtilTest" + ".java"); + File file = Tool.createFile(root.getAbsolutePath(), "UtilTest" + ".java"); freeMarkerManager.outputTemp(file, option + "/test/UtilTest.java", ctx); } for (Module md : project.getModules()) { File module = Tool.createPath(root.getAbsolutePath(), md.getModuleName()); - module.mkdirs(); for (Table table : md.getTables()) { HashMap ctx = new HashMap();