|
@@ -30,12 +30,18 @@ public class OPE0370 extends QCCatalogue {
|
|
|
if (operationDocs == null || operationDocs.size() < 1) {
|
|
|
return;
|
|
|
}
|
|
|
+ int i = 0, j = 0;
|
|
|
for (OperationDoc operationDoc : operationDocs) {
|
|
|
- if (operationDoc.getPreoperativeDiscussionDoc() == null) {
|
|
|
- status.set("-1");
|
|
|
- info.set("手术记录不一致");
|
|
|
- return;
|
|
|
+ if (operationDoc.getOperationRecordDoc() != null) {
|
|
|
+ i++;
|
|
|
}
|
|
|
+ if (operationDoc.getPreoperativeDiscussionDoc() != null) {
|
|
|
+ j++;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (i != j) {
|
|
|
+ status.set("-1");
|
|
|
+ info.set("手术记录不一致");
|
|
|
}
|
|
|
// OperationRecordDoc operationRecordDoc = operationDoc.getOperationRecordDoc();
|
|
|
// if (operationRecordDoc == null) {
|