|
@@ -432,6 +432,7 @@ public class KlConceptFacade extends KlConceptServiceImpl {
|
|
.eq(getAllForRelationVO.getTypeId() != null, "lib_type", getAllForRelationVO.getTypeId())
|
|
.eq(getAllForRelationVO.getTypeId() != null, "lib_type", getAllForRelationVO.getTypeId())
|
|
.eq("status", StatusEnum.Enable.getKey())
|
|
.eq("status", StatusEnum.Enable.getKey())
|
|
.notIn(ListUtil.isNotEmpty(getAllForRelationVO.getExcludedConceptIds()), "id", getAllForRelationVO.getExcludedConceptIds())
|
|
.notIn(ListUtil.isNotEmpty(getAllForRelationVO.getExcludedConceptIds()), "id", getAllForRelationVO.getExcludedConceptIds())
|
|
|
|
+ .last("limit 100")
|
|
);
|
|
);
|
|
// retList = BeanUtil.listCopyTo(conceptList, GetAllForRelationDTO.class);
|
|
// retList = BeanUtil.listCopyTo(conceptList, GetAllForRelationDTO.class);
|
|
if (ListUtil.isNotEmpty(conceptList)) {
|
|
if (ListUtil.isNotEmpty(conceptList)) {
|
|
@@ -517,6 +518,18 @@ public class KlConceptFacade extends KlConceptServiceImpl {
|
|
return getAllForRelationDTOS;*/
|
|
return getAllForRelationDTOS;*/
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ public List<GetAllForRelationDTO> addConceptClass(SearchConceptVO searchConceptVO) {
|
|
|
|
+ RespDTO<List<GetAllForRelationDTO>> relationDTORespDTO = cdssCoreClient.addConceptClass(searchConceptVO);
|
|
|
|
+ RespDTOUtil.respNGDeal(relationDTORespDTO, "术语集合新增失败");
|
|
|
|
+ return relationDTORespDTO.data;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public List<GetAllForRelationDTO> searchConceptRuleClass(SearchConceptVO searchConceptVO) {
|
|
|
|
+ RespDTO<List<GetAllForRelationDTO>> relationDTORespDTO = cdssCoreClient.searchConceptRuleClass(searchConceptVO);
|
|
|
|
+ RespDTOUtil.respNGDeal(relationDTORespDTO, "查询规则维护术语查询术语失败");
|
|
|
|
+ return relationDTORespDTO.data;
|
|
|
|
+ }
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 筛选符合类型的概念id
|
|
* 筛选符合类型的概念id
|
|
*
|
|
*
|