kongwz il y a 5 ans
Parent
commit
57d0725d44

+ 7 - 1
kernel/src/main/java/com/lantone/qc/kernel/catalogue/operationdiscussion/OPE0360.java

@@ -3,9 +3,11 @@ package com.lantone.qc.kernel.catalogue.operationdiscussion;
 import com.lantone.qc.kernel.catalogue.QCCatalogue;
 import com.lantone.qc.pub.model.InputInfo;
 import com.lantone.qc.pub.model.OutputInfo;
+import com.lantone.qc.pub.model.doc.operation.OperationDoc;
 import org.springframework.stereotype.Component;
 
 import java.text.ParseException;
+import java.util.List;
 
 /**
  * @Description: 手术记录中手术经过描述不完整
@@ -17,7 +19,11 @@ public class OPE0360 extends QCCatalogue {
 
     @Override
     protected void start(InputInfo inputInfo, OutputInfo outputInfo) throws ParseException {
-        
+        status.set("0");
+        List<OperationDoc> operationDocs = inputInfo.getOperationDocs();
+        if(operationDocs == null || operationDocs.size() < 1){
+            return;
+        }
     }
 
 }

+ 6 - 5
kernel/src/main/java/com/lantone/qc/kernel/catalogue/operationdiscussion/OPE0370.java

@@ -30,11 +30,12 @@ public class OPE0370 extends QCCatalogue {
         //        }
         //        boolean isOperativePatient = CatalogueUtil.isOperativePatients(doctorAdviceDocs);
         boolean isOperativePatient = true;//是手术患者(暂时默认是)
-        if (isOperativePatient) {
-            List<OperationDoc> operationDocs = inputInfo.getOperationDocs();
-            if (ListUtil.isEmpty(operationDocs)) {
-                return;
-            }
+        List<OperationDoc> operationDocs = inputInfo.getOperationDocs();
+        if(operationDocs == null || operationDocs.size() < 1){
+            return;
+        }
+        if ( operationDocs.size()>0) {
+
             for (OperationDoc operationDoc : operationDocs) {
                 OperationRecordDoc operationRecordDoc = operationDoc.getOperationRecordDoc();
                 if (operationRecordDoc == null) {