소스 검색

在集合业务中,搜索术语,搜索的可能为空,把空的过滤掉

kongwz 3 년 전
부모
커밋
7b47a148d7
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/main/java/com/diagbot/facade/KlConceptFacade.java

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

@@ -439,6 +439,7 @@ public class KlConceptFacade extends KlConceptServiceImpl {
 
 
     public List<GetAllForRelationDTO> searchCollectionConceptFac(SearchCollectionConceptVO searchCollectionConceptVO) {
+        searchCollectionConceptVO.setNames(searchCollectionConceptVO.getNames().stream().filter(x ->StringUtil.isNotBlank(x)).collect(Collectors.toList()));
         List<GetAllForRelationDTO> getAllForRelationDTOS = this.searchCollectionConcept(searchCollectionConceptVO);
         return getAllForRelationDTOS;
     }