Browse Source

标准术语搜索限制

wangfeng 4 years atrás
parent
commit
66e03979d9

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