|
@@ -268,12 +268,14 @@ public class ConceptFacade extends ConceptServiceImpl {
|
|
|
ExistListByConceptIdsVO existListByConceptIdsVO = new ExistListByConceptIdsVO();
|
|
|
existListByConceptIdsVO.setConceptIds(cenceptIdList);
|
|
|
List<Long> existConceptIdList = conceptDetailFacade.existListByConceptIds(existListByConceptIdsVO);
|
|
|
- for (RetrievalDTO retrievalDTOInfo : retrievalDTOS) {
|
|
|
- for (Long concept : existConceptIdList) {
|
|
|
- if (retrievalDTOInfo.getConceptId().intValue() == concept.intValue()){
|
|
|
- retrievalDTO = new RetrievalDTO();
|
|
|
- BeanUtil.copyProperties(retrievalDTOInfo,retrievalDTO);
|
|
|
- staticRetrievalList.add(retrievalDTO);
|
|
|
+ if(ListUtil.isNotEmpty(existConceptIdList)){
|
|
|
+ for (RetrievalDTO retrievalDTOInfo : retrievalDTOS) {
|
|
|
+ for (Long concept : existConceptIdList) {
|
|
|
+ if (retrievalDTOInfo.getConceptId().intValue() == concept.intValue()){
|
|
|
+ retrievalDTO = new RetrievalDTO();
|
|
|
+ BeanUtil.copyProperties(retrievalDTOInfo,retrievalDTO);
|
|
|
+ staticRetrievalList.add(retrievalDTO);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|