aggiunte parentesi [] nella creazione delle tabelle di history e cancellato file dopo l'importazione
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good

This commit is contained in:
2025-04-24 13:03:17 +02:00
parent a25e074af7
commit 1926d85414
3 changed files with 2 additions and 1 deletions

1
.idea/misc.xml generated
View File

@@ -9,7 +9,6 @@
</option> </option>
</component> </component>
<component name="PWA"> <component name="PWA">
<option name="enabled" value="true" />
<option name="wasEnabledAtLeastOnce" value="true" /> <option name="wasEnabledAtLeastOnce" value="true" />
</component> </component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK" /> <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK" />

View File

@@ -24,6 +24,7 @@ public class DatabaseTableColumn {
private ArrayList<DatabaseForeignKey> foreignKeys; private ArrayList<DatabaseForeignKey> foreignKeys;
public String getColumnName() { public String getColumnName() {
if (!columnName.startsWith("[")) columnName = "["+columnName +"]";
return columnName; return columnName;
} }

View File

@@ -283,6 +283,7 @@ public class EmsServices {
File file = new File(fileName); File file = new File(fileName);
FileUtils.writeByteArrayToFile(file, fileContent); FileUtils.writeByteArrayToFile(file, fileContent);
moveFileImported(type, format, file, entityImporter, tmpResult); moveFileImported(type, format, file, entityImporter, tmpResult);
file.delete();
} }
} catch (Exception ex) { } catch (Exception ex) {