Selaa lähdekoodia

义乌术前讨论记录无拟行术式、个人史未填写修改bug

wangsy 4 vuotta sitten
vanhempi
commit
3d499aa4bf

+ 1 - 1
kernel/src/main/java/com/lantone/qc/kernel/catalogue/yiwu/behospitalized/BEH0041.java

@@ -34,7 +34,7 @@ public class BEH0041 extends QCCatalogue {
             return;
         }
 
-        if (StringUtil.isNotBlank(inputInfo.getBeHospitalizedDoc().getPersonalLabel().getText())) {
+        if (inputInfo.getBeHospitalizedDoc().getPersonalLabel() != null && StringUtil.isNotBlank(inputInfo.getBeHospitalizedDoc().getPersonalLabel().getText())) {
             status.set("0");
         }
     }

+ 2 - 1
kernel/src/main/java/com/lantone/qc/kernel/catalogue/yiwu/preoperativediscussion/PRE0330.java

@@ -28,7 +28,8 @@ public class PRE0330 extends QCCatalogue {
         }
         for (OperationDoc operationDoc : operationDocs) {
             if (operationDoc.getPreoperativeDiscussionDoc() != null
-                    && StringUtil.isEmpty(operationDoc.getPreoperativeDiscussionDoc().getStructureMap().get("拟施手术方式名称及可能的变更与禁忌症"))) {
+                    && StringUtil.isEmpty(operationDoc.getPreoperativeDiscussionDoc().getStructureMap().get("拟施手术方式名称及可能的变更与禁忌症"))
+                    && StringUtil.isEmpty(operationDoc.getPreoperativeDiscussionDoc().getStructureMap().get("拟施手术名称和方式及可能的变更"))) {
                 status.set("-1");
             }
         }