Browse Source

关联概念搜索修改

rgb 6 years ago
parent
commit
a1407ca8d6

+ 2 - 1
knowledgeman-service/src/main/java/com/diagbot/facade/ConceptFacade.java

@@ -212,7 +212,8 @@ public class ConceptFacade extends ConceptServiceImpl {
 
         for (Concept i : conceptList) {
             if (reCouMap.get(i.getId()) != null
-                    || (getAllForRelationVO.getExcludedConceptIds() != null && getAllForRelationVO.getExcludedConceptIds().contains(i.getId()))) {
+                    || (getAllForRelationVO.getExcludedConceptIds() != null && getAllForRelationVO.getExcludedConceptIds().contains(i.getId()))
+                    || (getAllForRelationVO.getRelationConceptId() != null && getAllForRelationVO.getRelationConceptId() == i.getId())) {
                 continue;
             }
             GetAllForRelationDTO getAllForRelationDTO = new GetAllForRelationDTO();