|
@@ -5,6 +5,7 @@ import com.lantone.qc.pub.model.InputInfo;
|
|
|
import com.lantone.qc.pub.model.OutputInfo;
|
|
|
import com.lantone.qc.pub.model.doc.operation.OperationDoc;
|
|
|
import com.lantone.qc.pub.util.ListUtil;
|
|
|
+import com.lantone.qc.pub.util.StringUtil;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
import java.text.ParseException;
|
|
@@ -37,11 +38,11 @@ public class OPE0323 extends QCCatalogue {
|
|
|
String surgeon = operationDoc.getOperationRecordDoc().getStructureMap().get("手术医师");
|
|
|
String assist1 = operationDoc.getOperationRecordDoc().getStructureMap().get("助手I");
|
|
|
String signature = operationDoc.getOperationRecordDoc().getStructureMap().get("主刀医师签名");
|
|
|
-
|
|
|
- String operator = surgeon + ", " + assist1;
|
|
|
-
|
|
|
- if (!operator.contains(signature)) {
|
|
|
- flag = true;
|
|
|
+ if (StringUtil.isNotBlank(surgeon) && StringUtil.isNotBlank(assist1)) {
|
|
|
+ String operator = surgeon + ", " + assist1;
|
|
|
+ if (!operator.contains(signature)) {
|
|
|
+ flag = true;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
return flag;
|