|
|
@ -93,7 +93,7 @@ public class GrantService {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
grant.getPapers().clear();
|
|
|
|
grant.getPapers().clear();
|
|
|
|
if (grantDto.getPaperIds() != null && !grantDto.getPaperIds().isEmpty()) {
|
|
|
|
if (grantDto.getPaperIds() != null && !grantDto.getPaperIds().isEmpty()) {
|
|
|
|
grantDto.getPaperIds().forEach(paperIds -> grant.getPapers().add(paperService.findEntityById(paperIds)));
|
|
|
|
grantDto.getPaperIds().forEach(paperIds -> grant.getPapers().add(paperService.findPaperById(paperIds)));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return grant;
|
|
|
|
return grant;
|
|
|
|
}
|
|
|
|
}
|
|
|
|