소스 검색

诊断性别和年龄校验1

yuchengwei 3 달 전
부모
커밋
0e9a1e8473
2개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 0
      src/main/java/com/diagbot/facade/KlConceptFacade.java
  2. 1 1
      src/main/java/com/diagbot/process/OtherTipProcess.java

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

@@ -569,4 +569,9 @@ public class KlConceptFacade extends KlConceptServiceImpl {
         }
         return retList;
     }
+
+    public List<GetAllForRelationDTO> searchCollectionConceptFacNew(SearchCollectionConceptVO searchCollectionConceptVO) {
+        searchCollectionConceptVO.setNames(searchCollectionConceptVO.getNames().stream().filter(StringUtil::isNotBlank).collect(Collectors.toList()));
+        return this.searchCollectionConceptNew(searchCollectionConceptVO);
+    }
 }

+ 1 - 1
src/main/java/com/diagbot/process/OtherTipProcess.java

@@ -114,7 +114,7 @@ public class OtherTipProcess {
 
         SearchCollectionConceptVO searchCollectionConceptVO = new SearchCollectionConceptVO();
         searchCollectionConceptVO.setNames(uniqueNames);
-        List<GetAllForRelationDTO> getAllForRelationDTOS = klConceptFacade.searchCollectionConceptNew(searchCollectionConceptVO);
+        List<GetAllForRelationDTO> getAllForRelationDTOS = klConceptFacade.searchCollectionConceptFacNew(searchCollectionConceptVO);
 
         if (ListUtil.isEmpty(getAllForRelationDTOS)) {
             return;