mirror of
https://github.com/gotson/komga.git
synced 2026-05-09 05:10:19 +02:00
parent
777acbbd68
commit
138c0ed464
1 changed files with 5 additions and 4 deletions
|
|
@ -128,7 +128,7 @@ class SyncPointDao(
|
|||
.where(condition),
|
||||
).execute()
|
||||
|
||||
return findByIdOrNull(syncPointId)!!
|
||||
return dslRW.findByIdOrNull(syncPointId)!!
|
||||
}
|
||||
|
||||
@Transactional
|
||||
|
|
@ -172,9 +172,10 @@ class SyncPointDao(
|
|||
}
|
||||
}
|
||||
|
||||
override fun findByIdOrNull(syncPointId: String): SyncPoint? =
|
||||
dslRO
|
||||
.selectFrom(sp)
|
||||
override fun findByIdOrNull(syncPointId: String): SyncPoint? = dslRO.findByIdOrNull(syncPointId)
|
||||
|
||||
private fun DSLContext.findByIdOrNull(syncPointId: String): SyncPoint? =
|
||||
selectFrom(sp)
|
||||
.where(sp.ID.eq(syncPointId))
|
||||
.fetchInto(sp)
|
||||
.map {
|
||||
|
|
|
|||
Loading…
Reference in a new issue