Browse Source

北仑:既往史为空,不提示消息

wangsy 4 years atrás
parent
commit
0ecc245d88

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

@@ -6,6 +6,7 @@ import com.lantone.qc.pub.model.OutputInfo;
 import com.lantone.qc.pub.model.entity.General;
 import com.lantone.qc.pub.model.entity.GeneralDesc;
 import com.lantone.qc.pub.model.label.PresentLabel;
+import com.lantone.qc.pub.util.StringUtil;
 import org.springframework.stereotype.Component;
 
 import java.util.List;
@@ -25,7 +26,7 @@ public class BEH0022 extends QCCatalogue {
             return;
         }
         PresentLabel presentLabel = inputInfo.getBeHospitalizedDoc().getPresentLabel();
-        if (presentLabel == null) {
+        if (presentLabel == null || StringUtil.isBlank(presentLabel.getText())) {
             status.set("0");
             return;
         }
@@ -39,6 +40,5 @@ public class BEH0022 extends QCCatalogue {
             status.set("0");
             return;
         }
-
     }
 }