|
@@ -81,7 +81,7 @@ public class NingHaiYiYiOperationDocTrans extends ModelDocTrans {
|
|
|
int index = 1;
|
|
|
String operationName = null;
|
|
|
for (Map<String, Object> contentMap : contentMaps) {
|
|
|
- if (contentMap.get("xmlText") == null || StringUtil.isBlank(contentMap.get("xmlText").toString())) {
|
|
|
+ if (contentMap.get("htmlText") == null || StringUtil.isBlank(contentMap.get("htmlText").toString())) {
|
|
|
continue;
|
|
|
}
|
|
|
try {
|
|
@@ -100,7 +100,7 @@ public class NingHaiYiYiOperationDocTrans extends ModelDocTrans {
|
|
|
}
|
|
|
|
|
|
private OperationDiscussionDoc getOperationDiscussionDoc(Map<String, Object> contentMap) {
|
|
|
- String content = contentMap.get("xmlText").toString();
|
|
|
+ String content = contentMap.get("htmlText").toString();
|
|
|
Map<String, String> structureMap = null;
|
|
|
OperationDiscussionDoc operationDiscussionDoc = new OperationDiscussionDoc();
|
|
|
if (contentMap.get("isParsed") != null && "1".equals(contentMap.get("isParsed").toString())) {
|
|
@@ -155,7 +155,7 @@ public class NingHaiYiYiOperationDocTrans extends ModelDocTrans {
|
|
|
int index = 1;
|
|
|
String operationName = null;
|
|
|
for (Map<String, Object> contentMap : contentMaps) {
|
|
|
- if (contentMap.get("xmlText") == null || StringUtil.isBlank(contentMap.get("xmlText").toString())) {
|
|
|
+ if (contentMap.get("htmlText") == null || StringUtil.isBlank(contentMap.get("htmlText").toString())) {
|
|
|
continue;
|
|
|
}
|
|
|
try {
|
|
@@ -174,7 +174,7 @@ public class NingHaiYiYiOperationDocTrans extends ModelDocTrans {
|
|
|
}
|
|
|
|
|
|
private OperationRecordDoc getOperationRecordDoc(Map<String, Object> contentMap) {
|
|
|
- String content = contentMap.get("xmlText").toString();
|
|
|
+ String content = contentMap.get("htmlText").toString();
|
|
|
Map<String, String> structureMap = null;
|
|
|
if (contentMap.get("isParsed") != null && "1".equals(contentMap.get("isParsed").toString())) {
|
|
|
structureMap = (Map) FastJsonUtils.getJsonToMap(content);
|
|
@@ -232,7 +232,7 @@ public class NingHaiYiYiOperationDocTrans extends ModelDocTrans {
|
|
|
int index = 1;
|
|
|
String operationName = null;
|
|
|
for (Map<String, Object> contentMap : contentMaps) {
|
|
|
- if (contentMap.get("xmlText") == null || StringUtil.isBlank(contentMap.get("xmlText").toString())) {
|
|
|
+ if (contentMap.get("htmlText") == null || StringUtil.isBlank(contentMap.get("htmlText").toString())) {
|
|
|
continue;
|
|
|
}
|
|
|
try {
|
|
@@ -251,7 +251,7 @@ public class NingHaiYiYiOperationDocTrans extends ModelDocTrans {
|
|
|
}
|
|
|
|
|
|
private PreoperativeDiscussionDoc getPreoperativeDiscussionDoc(Map<String, Object> contentMap) {
|
|
|
- String content = contentMap.get("xmlText").toString();
|
|
|
+ String content = contentMap.get("htmlText").toString();
|
|
|
Map<String, String> structureMap = null;
|
|
|
if (contentMap.get("isParsed") != null && "1".equals(contentMap.get("isParsed").toString())) {
|
|
|
structureMap = (Map) FastJsonUtils.getJsonToMap(content);
|
|
@@ -338,7 +338,7 @@ public class NingHaiYiYiOperationDocTrans extends ModelDocTrans {
|
|
|
int index = 1;
|
|
|
String operationName = null;
|
|
|
for (Map<String, Object> contentMap : contentMaps) {
|
|
|
- if (contentMap.get("xmlText") == null || StringUtil.isBlank(contentMap.get("xmlText").toString())) {
|
|
|
+ if (contentMap.get("htmlText") == null || StringUtil.isBlank(contentMap.get("htmlText").toString())) {
|
|
|
continue;
|
|
|
}
|
|
|
operationName = index + "";
|
|
@@ -352,7 +352,7 @@ public class NingHaiYiYiOperationDocTrans extends ModelDocTrans {
|
|
|
|
|
|
private OperationInformedConsentDoc getOperationInformedConsentDoc(Map<String, Object> contentMap) {
|
|
|
String modeId = "16";
|
|
|
-// String content = contentMap.get("xmlText").toString();
|
|
|
+// String content = contentMap.get("htmlText").toString();
|
|
|
// Map<String, String> xmlNodeValueMap = CxXmlUtil.firstLevelNodeValue(content);
|
|
|
// xmlNodeValueMap.put("mode_id=" + contentMap.get("modeId").toString(), "");
|
|
|
// xmlNodeValueMap.put("rec_title=" + contentMap.get("recTitle").toString(), "");
|
|
@@ -413,7 +413,7 @@ public class NingHaiYiYiOperationDocTrans extends ModelDocTrans {
|
|
|
int index = 1;
|
|
|
String operationName = null;
|
|
|
for (Map<String, Object> contentMap : contentMaps) {
|
|
|
- if (contentMap.get("xmlText") == null || StringUtil.isBlank(contentMap.get("xmlText").toString())) {
|
|
|
+ if (contentMap.get("htmlText") == null || StringUtil.isBlank(contentMap.get("htmlText").toString())) {
|
|
|
continue;
|
|
|
}
|
|
|
operationName = index + "";
|
|
@@ -427,7 +427,7 @@ public class NingHaiYiYiOperationDocTrans extends ModelDocTrans {
|
|
|
|
|
|
private OperationSafetyChecklistDoc getOperationSafetyChecklistDoc(Map<String, Object> contentMap) {
|
|
|
String modeId = "21";
|
|
|
-// String content = contentMap.get("xmlText").toString();
|
|
|
+// String content = contentMap.get("htmlText").toString();
|
|
|
// Map<String, String> xmlNodeValueMap = CxXmlUtil.firstLevelNodeValue(content);
|
|
|
// xmlNodeValueMap.put("mode_id=" + contentMap.get("modeId").toString(), "");
|
|
|
// xmlNodeValueMap.put("rec_title=" + contentMap.get("recTitle").toString(), "");
|