RED-5097 - ocr status updates - lastUpdated needs to change when ocr values change
This commit is contained in:
parent
2a862e4f4c
commit
041b2a9dc4
@ -239,7 +239,7 @@ public interface FileRepository extends JpaRepository<FileEntity, String> {
|
||||
@Transactional
|
||||
@Modifying(clearAutomatically = true)
|
||||
@Query(value = "update FileEntity f set f.numberOfOCRedPages = :numberOfOCRedPages, f.numberOfPagesToOCR = :numberOfPagesToOCR, f.ocrEndTime = :ocrEndTime, " +
|
||||
" f.lastUpdated = :lastUpdated, where f.id = :fileId")
|
||||
" f.lastUpdated = :lastUpdated where f.id = :fileId")
|
||||
void updateOCRStatus(String fileId, int numberOfPagesToOCR, int numberOfOCRedPages, OffsetDateTime ocrEndTime, OffsetDateTime lastUpdated);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user