瀏覽代碼

关联概念搜索修改

rgb 6 年之前
父節點
當前提交
a1407ca8d6
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      knowledgeman-service/src/main/java/com/diagbot/facade/ConceptFacade.java

+ 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();