From aaed7558cfa67e01e4706ee861f3c5a684b5ec7f Mon Sep 17 00:00:00 2001 From: wangbing <1919101440@qq.com> Date: Fri, 13 Dec 2019 21:25:36 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81API?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Former-commit-id: 99242f9abd3cec18b2d313748d8b8fe5fa05ed9d --- .../dbtool/javafx/manger/callable/SpringBootCallable.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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();