-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ikke rekjør grensesnittavstemming ved samme avstemmingId dersom forri…
…ge gikk OK
- Loading branch information
1 parent
b00ed2b
commit f0c8c8d
Showing
5 changed files
with
45 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
src/main/kotlin/no/nav/familie/oppdrag/repository/TidligereKjørteGrensesnittavstemminger.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package no.nav.familie.oppdrag.repository | ||
|
||
import java.util.UUID | ||
import org.springframework.data.annotation.Id | ||
import org.springframework.data.relational.core.mapping.Table | ||
|
||
@Table("tidligere_kjoerte_grensesnittavstemminger") | ||
class TidligereKjørteGrensesnittavstemminger( | ||
@Id val id: UUID | ||
) |
13 changes: 13 additions & 0 deletions
13
...lin/no/nav/familie/oppdrag/repository/TidligereKjørteGrensesnittavstemmingerRepository.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package no.nav.familie.oppdrag.repository | ||
|
||
import java.util.Optional | ||
import java.util.UUID | ||
import org.springframework.data.repository.CrudRepository | ||
import org.springframework.stereotype.Repository | ||
|
||
@Repository | ||
interface TidligereKjørteGrensesnittavstemmingerRepository : InsertUpdateRepository<TidligereKjørteGrensesnittavstemminger>, | ||
CrudRepository<TidligereKjørteGrensesnittavstemminger, UUID> { | ||
|
||
override fun findById(id: UUID): Optional<TidligereKjørteGrensesnittavstemminger> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
src/main/resources/db/migration/V013__opprett_tidligere_kjoerte_grensesnittavstemminger.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
CREATE TABLE tidligere_kjoerte_grensesnittavstemminger | ||
( | ||
id UUID PRIMARY KEY, | ||
); |