|
|
@ -525,7 +525,6 @@ public class SpringBootCallable implements Callable {
|
|
|
|
File exception = Tool.createPath(excel.getAbsolutePath(), "exception");
|
|
|
|
File exception = Tool.createPath(excel.getAbsolutePath(), "exception");
|
|
|
|
File excelstyle = Tool.createPath(excel.getAbsolutePath(), "style");
|
|
|
|
File excelstyle = Tool.createPath(excel.getAbsolutePath(), "style");
|
|
|
|
File schedule = Tool.createPath(root.getAbsolutePath(), "schedule");
|
|
|
|
File schedule = Tool.createPath(root.getAbsolutePath(), "schedule");
|
|
|
|
File scheduleException = Tool.createPath(schedule.getAbsolutePath(), "exception");
|
|
|
|
|
|
|
|
File utils = Tool.createPath(root.getAbsolutePath(), "utils");
|
|
|
|
File utils = Tool.createPath(root.getAbsolutePath(), "utils");
|
|
|
|
File validation = Tool.createPath(root.getAbsolutePath(), "validation");
|
|
|
|
File validation = Tool.createPath(root.getAbsolutePath(), "validation");
|
|
|
|
|
|
|
|
|
|
|
@ -560,10 +559,6 @@ public class SpringBootCallable implements Callable {
|
|
|
|
for (String name : ResourceUtil.getResourceFiles("/modules/SpringBoot/java/frame/schedule/")) {
|
|
|
|
for (String name : ResourceUtil.getResourceFiles("/modules/SpringBoot/java/frame/schedule/")) {
|
|
|
|
freeMarkerManager.outputTemp(Tool.createFile(schedule.getAbsolutePath(), name), "SpringBoot/java/frame/schedule/" + name, ctx);
|
|
|
|
freeMarkerManager.outputTemp(Tool.createFile(schedule.getAbsolutePath(), name), "SpringBoot/java/frame/schedule/" + name, ctx);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//scheduleException
|
|
|
|
|
|
|
|
for (String name : ResourceUtil.getResourceFiles("/modules/SpringBoot/java/frame/schedule/exception/")) {
|
|
|
|
|
|
|
|
freeMarkerManager.outputTemp(Tool.createFile(scheduleException.getAbsolutePath(), name), "SpringBoot/java/frame/schedule/exception/" + name, ctx);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//utils
|
|
|
|
//utils
|
|
|
|
for (String name : ResourceUtil.getResourceFiles("/modules/SpringBoot/java/frame/utils/")) {
|
|
|
|
for (String name : ResourceUtil.getResourceFiles("/modules/SpringBoot/java/frame/utils/")) {
|
|
|
@ -682,7 +677,7 @@ public class SpringBootCallable implements Callable {
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
if (DataBase.SQLite.name().equals(project.getDatabase().name())) {
|
|
|
|
if (DataBase.SQLite.name().equals(project.getDatabase().name())) {
|
|
|
|
File dbFile = Tool.createFile(root.getAbsolutePath(), project.getProjectName() + ".db");
|
|
|
|
File dbFile = Tool.createFile(root.getAbsolutePath(), project.getProjectName() + ".db3");
|
|
|
|
Connection connection = null;
|
|
|
|
Connection connection = null;
|
|
|
|
Statement statement = null;
|
|
|
|
Statement statement = null;
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|