diff --git a/domain/src/main/kotlin/com/oksusu/susu/domain/report/infrastructure/ReportHistoryQRepository.kt b/domain/src/main/kotlin/com/oksusu/susu/domain/report/infrastructure/ReportHistoryQRepository.kt index 7b5dfe8c..926e4ff0 100644 --- a/domain/src/main/kotlin/com/oksusu/susu/domain/report/infrastructure/ReportHistoryQRepository.kt +++ b/domain/src/main/kotlin/com/oksusu/susu/domain/report/infrastructure/ReportHistoryQRepository.kt @@ -12,6 +12,7 @@ import java.time.LocalDateTime @Transactional(readOnly = true) interface ReportHistoryQRepository { + @Transactional fun updateAllCreatedAt(createdAt: LocalDateTime): Long } diff --git a/domain/src/main/kotlin/com/oksusu/susu/domain/report/infrastructure/ReportResultQRepository.kt b/domain/src/main/kotlin/com/oksusu/susu/domain/report/infrastructure/ReportResultQRepository.kt index 4ec6a409..802829ba 100644 --- a/domain/src/main/kotlin/com/oksusu/susu/domain/report/infrastructure/ReportResultQRepository.kt +++ b/domain/src/main/kotlin/com/oksusu/susu/domain/report/infrastructure/ReportResultQRepository.kt @@ -12,6 +12,7 @@ import java.time.LocalDateTime @Transactional(readOnly = true) interface ReportResultQRepository { + @Transactional fun updateAllCreatedAt(createdAt: LocalDateTime): Long } diff --git a/domain/src/main/kotlin/com/oksusu/susu/domain/user/infrastructure/UserStatusHistoryQRepository.kt b/domain/src/main/kotlin/com/oksusu/susu/domain/user/infrastructure/UserStatusHistoryQRepository.kt index 57ae1aec..60428d38 100644 --- a/domain/src/main/kotlin/com/oksusu/susu/domain/user/infrastructure/UserStatusHistoryQRepository.kt +++ b/domain/src/main/kotlin/com/oksusu/susu/domain/user/infrastructure/UserStatusHistoryQRepository.kt @@ -17,6 +17,7 @@ interface UserStatusHistoryQRepository { fun getUidByToStatusId(toStatusId: Long): List + @Transactional fun updateAllCreatedAt(createdAt: LocalDateTime): Long } diff --git a/domain/src/main/kotlin/com/oksusu/susu/domain/user/infrastructure/UserStatusQRepository.kt b/domain/src/main/kotlin/com/oksusu/susu/domain/user/infrastructure/UserStatusQRepository.kt index bb098301..bae6321d 100644 --- a/domain/src/main/kotlin/com/oksusu/susu/domain/user/infrastructure/UserStatusQRepository.kt +++ b/domain/src/main/kotlin/com/oksusu/susu/domain/user/infrastructure/UserStatusQRepository.kt @@ -12,6 +12,7 @@ import java.time.LocalDateTime @Transactional(readOnly = true) interface UserStatusQRepository { + @Transactional fun updateAllCreatedAt(createdAt: LocalDateTime): Long }