Bladeren bron

修改bug

zhoutg 5 jaren geleden
bovenliggende
commit
31acee76b6

+ 1 - 1
kernel/src/main/java/com/lantone/qc/kernel/catalogue/QCCatalogue.java

@@ -36,7 +36,7 @@ public class QCCatalogue {
             start(inputInfo, outputInfo);
         } catch (Exception e) {
             variablePreset("-1", "");
-            log.error(e.getMessage() + "......类名:" + this.className);
+            log.error("【出错原因】" + e.getMessage() + "......类名:" + this.className);
         }
 //        long t2 = System.currentTimeMillis();
 //        log.error(inputInfo.getMedicalRecordInfoDoc().getStructureMap().get("behospitalCode") + "-----" + className + "(规则)  耗时:" + (t2 - t1));

+ 2 - 1
kernel/src/main/java/com/lantone/qc/kernel/catalogue/behospitalized/BEH0378.java

@@ -73,7 +73,8 @@ public class BEH0378 extends QCCatalogue {
             long count = familyList
                     .stream()
                     .filter(
-                            i -> (i.getDead().getDeadReason() != null && StringUtil.isNotBlank(i.getDead().getDeadReason().getName())) || StringUtil.isNotBlank(i.getDead().getUnknow().getName())
+                            i -> (i.getDead().getDeadReason() != null && StringUtil.isNotBlank(i.getDead().getDeadReason().getName()))
+                                    || (i.getDead().getUnknow() != null && StringUtil.isNotBlank(i.getDead().getUnknow().getName()))
                     )
                     .count();
             if (count > 0) {