Selaa lähdekoodia

鉴别诊断不参与推送LIS和PACS

kongwz 6 vuotta sitten
vanhempi
commit
8e1e99d7da

+ 8 - 6
graphdb/src/main/java/org/diagbot/service/impl/KnowledgeServiceImpl.java

@@ -318,12 +318,14 @@ public class KnowledgeServiceImpl implements KnowledgeService {
             List<String> bigdataDiagList =new LinkedList<>();
             if(bigdataDiagFeature.size()>0){
                 for (FeatureRate fe:bigdataDiagFeature) {
-                    if("neo4j".equals(fe.getRate())){
-                        bigdataDiagList.add(fe.getFeatureName());
-                        logger.info("图谱推出的诊断为: "+fe.getFeatureName());
-                    }else {
-                        bigdataDiagList.add(fe.getFeatureName());
-                        logger.info("大数据推出的诊断为: "+fe.getFeatureName());
+                    if(!"{\"鉴别诊断\":\"\"}".equals(fe.getDesc())){
+                        if("neo4j".equals(fe.getRate())){
+                            bigdataDiagList.add(fe.getFeatureName());
+                            logger.info("图谱推出的诊断为: "+fe.getFeatureName());
+                        }else {
+                            bigdataDiagList.add(fe.getFeatureName());
+                            logger.info("大数据推出的诊断为: "+fe.getFeatureName());
+                        }
                     }
                 }
             }