Skip to content

Commit

Permalink
Tillater at alle timestamp kan være null
Browse files Browse the repository at this point in the history
Co-authored-by: Julie Hill Roa <[email protected]>
  • Loading branch information
klaramargrethehelgemo and JulieHillRoa committed Jan 2, 2025
1 parent 82aeae1 commit bf57486
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ data class SakStatistikk(
val relatertBehandlingId: BigInteger? = null,
val relatertFagsystem: String? = null,
val sakId: String? = null,
val mottattTid: LocalDateTime,
val mottattTid: LocalDateTime? = null,
val registrertTid: LocalDateTime? = null,
val ferdigbehandletTid: LocalDateTime? = null,
val endretTid: LocalDateTime? = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ class SakStatistikkRepository(val jdbcTemplate: JdbcTemplate) {
relatertBehandlingId = rs.getBigDecimal(RELATERT_BEHANDLING_ID)?.toBigInteger(),
relatertFagsystem = rs.getString(RELATERT_FAGSYSTEM),
sakId = rs.getString(SAK_ID),
mottattTid = rs.getTimestamp(MOTTATT_TID).toLocalDateTime(),
registrertTid = rs.getTimestamp(REGISTRERT_TID).toLocalDateTime(),
mottattTid = rs.getTimestamp(MOTTATT_TID)?.toLocalDateTime(),
registrertTid = rs.getTimestamp(REGISTRERT_TID)?.toLocalDateTime(),
ferdigbehandletTid = rs.getTimestamp(FERDIGBEHANDLET_TID)?.toLocalDateTime(),
endretTid = rs.getTimestamp(ENDRET_TID)?.toLocalDateTime(),
tekniskTid = rs.getTimestamp(TEKNISK_TID)?.toLocalDateTime(),
Expand Down

0 comments on commit bf57486

Please sign in to comment.