[stats wf] indicators across stats dbs & updates in the org ids #248
|
@ -110,6 +110,10 @@ public class DedupRecordFactory {
|
||||||
|
|
||||||
// set authors and date
|
// set authors and date
|
||||||
if (ModelSupport.isSubClass(entity, Result.class)) {
|
if (ModelSupport.isSubClass(entity, Result.class)) {
|
||||||
|
Optional
|
||||||
|
.ofNullable(((Result) entity).getAuthor())
|
||||||
|
.ifPresent(a -> authors.add(a));
|
||||||
|
|
||||||
((Result) entity).setAuthor(AuthorMerger.merge(authors));
|
((Result) entity).setAuthor(AuthorMerger.merge(authors));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue