瀏覽代碼

标准术语搜索限制

wangfeng 4 年之前
父節點
當前提交
66e03979d9
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      cdssman-service/src/main/java/com/diagbot/facade/KlConceptFacade.java

+ 1 - 0
cdssman-service/src/main/java/com/diagbot/facade/KlConceptFacade.java

@@ -297,6 +297,7 @@ public class KlConceptFacade extends KlConceptServiceImpl {
                     .eq("is_deleted", IsDeleteEnum.N.getKey())
                     .like(StringUtil.isNotBlank(getAllForRelationVO.getName()), "lib_name", getAllForRelationVO.getName().trim())
                     .eq(getAllForRelationVO.getTypeId() != null, "lib_type", getAllForRelationVO.getTypeId())
+                    .eq("status", StatusEnum.Enable.getKey())
                     .notIn(ListUtil.isNotEmpty(getAllForRelationVO.getExcludedConceptIds()), "id", getAllForRelationVO.getExcludedConceptIds())
             );
             //            retList = BeanUtil.listCopyTo(conceptList, GetAllForRelationDTO.class);