Procházet zdrojové kódy

诊断性别和年龄校验1

yuchengwei před 3 měsíci
rodič
revize
0e9a1e8473

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