Pull request #87: RED-2429: As a user I want to resize a redaction - fixed processed date
Merge in RED/persistence-service from RED-2429-ps4 to master * commit '4b56c654e8221fceaa7a9b1a912c1f53d6aa3ed7': RED-2429: As a user I want to resize a redaction - fixed processed date
This commit is contained in:
commit
17a2bf6bf9
@ -37,6 +37,9 @@ public class ResizeRedactionPersistenceService {
|
||||
BeanUtils.copyProperties(resizeRedactionRequest, manualResizeRedaction);
|
||||
manualResizeRedaction.setPositions(convert(resizeRedactionRequest.getPositions(), RectangleEntity.class));
|
||||
manualResizeRedaction.setRequestDate(OffsetDateTime.now());
|
||||
if(manualResizeRedaction.getStatus().equals(AnnotationStatus.APPROVED)) {
|
||||
manualResizeRedaction.setProcessedDate(OffsetDateTime.now());
|
||||
}
|
||||
|
||||
resizeRedactionRepository.save(manualResizeRedaction);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user