Explorar el Código

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

kongwz hace 3 años
padre
commit
7b47a148d7
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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;
     }