(fix) Konfiguration-Setup Umbau zu SCS

This commit is contained in:
stefan
2025-07-19 14:19:05 +02:00
parent e38ab27fbe
commit db465e461e
5 changed files with 13 additions and 25 deletions
@@ -91,7 +91,7 @@ class VeranstaltungRepositoryImpl : VeranstaltungRepository {
val now = Clock.System.now()
val updatedVeranstaltung = veranstaltung.copy(updatedAt = now)
// Check if record exists
// Check if a record exists
val existingRecord = VeranstaltungTable.selectAll()
.where { VeranstaltungTable.id eq veranstaltung.veranstaltungId }
.singleOrNull()
@@ -103,7 +103,7 @@ class VeranstaltungRepositoryImpl : VeranstaltungRepository {
}
updatedVeranstaltung
} else {
// Insert new record
// Insert a new record
VeranstaltungTable.insert {
it[id] = veranstaltung.veranstaltungId
veranstaltungToStatement(it, updatedVeranstaltung)