|
|
|
@ -692,7 +692,12 @@ public class SpringBootCallable implements Callable {
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
File system = Tool.createPath(dbtool.getAbsolutePath(), "system_table");
|
|
|
|
|
freeMarkerManager.outputTemp(Tool.createFile(system.getAbsolutePath(), "ALL_TABLE.sql"), option + "/resources/dbtool/system/ALL_TABLE_" + dataBase.toString() + ".sql", ctx);
|
|
|
|
|
File file = new File(system.getAbsolutePath(), "ALL_TABLE.sql");
|
|
|
|
|
if (file.exists()){
|
|
|
|
|
freeMarkerManager.outputTemp(Tool.createFile(system.getAbsolutePath(), "ALL_TABLE_.sql"), option + "/resources/dbtool/system/ALL_TABLE_" + dataBase.toString() + ".sql", ctx);
|
|
|
|
|
}else {
|
|
|
|
|
freeMarkerManager.outputTemp(Tool.createFile(system.getAbsolutePath(), "ALL_TABLE.sql"), option + "/resources/dbtool/system/ALL_TABLE_" + dataBase.toString() + ".sql", ctx);
|
|
|
|
|
}
|
|
|
|
|
freeMarkerManager.outputTemp(Tool.createFile(system.getAbsolutePath(), "DICT.sql"), option + "/resources/dbtool/system/DICT_" + dataBase.toString() + ".sql", ctx);
|
|
|
|
|
freeMarkerManager.outputTemp(Tool.createFile(system.getAbsolutePath(), "DICT_ITEM.sql"), option + "/resources/dbtool/system/DICT_ITEM_" + dataBase.toString() + ".sql", ctx);
|
|
|
|
|
freeMarkerManager.outputTemp(Tool.createFile(system.getAbsolutePath(), "FILE.sql"), option + "/resources/dbtool/system/FILE_" + dataBase.toString() + ".sql", ctx);
|
|
|
|
|