fix merge bug
This commit is contained in:
parent
bb2518e5f4
commit
4dd0a6c210
@ -93,7 +93,7 @@ public class GrantService {
|
||||
}
|
||||
grant.getPapers().clear();
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user