|
@@ -5,7 +5,6 @@ import com.lantone.qc.kernel.util.ClearBracketUtil;
|
|
|
import com.lantone.qc.pub.Content;
|
|
|
import com.lantone.qc.pub.model.InputInfo;
|
|
|
import com.lantone.qc.pub.model.OutputInfo;
|
|
|
-import com.lantone.qc.pub.model.doc.operation.OperationDiscussionDoc;
|
|
|
import com.lantone.qc.pub.model.doc.operation.OperationDoc;
|
|
|
import com.lantone.qc.pub.model.doc.operation.OperationRecordDoc;
|
|
|
import org.springframework.stereotype.Component;
|
|
@@ -52,6 +51,11 @@ public class FIRP02993 extends QCCatalogue {
|
|
|
Object operation = structureExtMap.get(Content.operative_information);//手术信息
|
|
|
List<String> operationNameList = new ArrayList<String>();
|
|
|
List<Map<String, String>> mapStrs = (List<Map<String, String>>) operation;
|
|
|
+ // 解决空指针,如果无数据,报错
|
|
|
+ if (mapStrs == null) {
|
|
|
+ status.set("-1");
|
|
|
+ return ;
|
|
|
+ }
|
|
|
if (mapStrs.size() > 0) {
|
|
|
for (Map<String, String> mapStr : mapStrs
|
|
|
) {
|