RED-3882: Fixed hasSuggestion after decline

This commit is contained in:
deiflaender 2022-04-21 09:31:21 +02:00
parent 4d12c996bd
commit a6146d4b9a

View File

@ -23,7 +23,7 @@ public interface ManualRedactionRepository extends JpaRepository<ManualRedaction
void updateSoftDelete(AnnotationEntityId id, OffsetDateTime softDeleteTime);
@Modifying
@Modifying(clearAutomatically = true)
@Query("update ManualRedactionEntryEntity m set m.status = :annotationStatus, m.processedDate = :processedDate where m.id = :id")
void updateStatus(AnnotationEntityId id, AnnotationStatus annotationStatus, OffsetDateTime processedDate);