|
@@ -143,7 +143,8 @@ public class ConceptFacade extends ConceptServiceImpl {
|
|
conceptQe.in("id", libraryInfoList.stream().map(i -> i.getConceptId()).distinct().collect(Collectors.toList()));
|
|
conceptQe.in("id", libraryInfoList.stream().map(i -> i.getConceptId()).distinct().collect(Collectors.toList()));
|
|
Map<Long, Concept> conceptMap = list(conceptQe).stream().collect(Collectors.toMap(Concept::getId, i -> i));
|
|
Map<Long, Concept> conceptMap = list(conceptQe).stream().collect(Collectors.toMap(Concept::getId, i -> i));
|
|
libraryInfoList.forEach(i -> {
|
|
libraryInfoList.forEach(i -> {
|
|
- if (conceptMap.get(i.getConceptId()) == null || conceptMap.get(i.getConceptId()).getLibId().intValue() != i.getId().intValue()) {
|
|
|
|
|
|
+ if (conceptMap.get(i.getConceptId()) == null || conceptMap.get(i.getConceptId()).getLibId().intValue() != i.getId().intValue()
|
|
|
|
+ ||(getAllConceptVO.getExcludedConceptIds() != null && getAllConceptVO.getExcludedConceptIds().contains(i.getConceptId()))) {
|
|
i.setIsDeleted("Y");
|
|
i.setIsDeleted("Y");
|
|
}
|
|
}
|
|
});
|
|
});
|