logs
This commit is contained in:
parent
fe95224471
commit
e0e0404f44
@ -37,6 +37,7 @@ public class RedactionLogMergeService {
|
|||||||
|
|
||||||
processRedactionLogEntry(manualRedactionWrappers.stream().filter(mr -> entry.getId().equals(mr.getId()))
|
processRedactionLogEntry(manualRedactionWrappers.stream().filter(mr -> entry.getId().equals(mr.getId()))
|
||||||
.collect(Collectors.toList()), dossierTemplateId, entry);
|
.collect(Collectors.toList()), dossierTemplateId, entry);
|
||||||
|
|
||||||
entry.setComments(manualRedactions.getComments().get(entry.getId()));
|
entry.setComments(manualRedactions.getComments().get(entry.getId()));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -82,6 +83,8 @@ public class RedactionLogMergeService {
|
|||||||
private void processRedactionLogEntry(List<ManualRedactionWrapper> manualRedactionWrappers, String dossierTemplateId, RedactionLogEntry redactionLogEntry) {
|
private void processRedactionLogEntry(List<ManualRedactionWrapper> manualRedactionWrappers, String dossierTemplateId, RedactionLogEntry redactionLogEntry) {
|
||||||
|
|
||||||
|
|
||||||
|
log.info("Processing: {} for: {}", manualRedactionWrappers, redactionLogEntry);
|
||||||
|
|
||||||
manualRedactionWrappers.forEach(mrw -> {
|
manualRedactionWrappers.forEach(mrw -> {
|
||||||
|
|
||||||
if (mrw.getItem() instanceof ManualImageRecategorization) {
|
if (mrw.getItem() instanceof ManualImageRecategorization) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user