|
@@ -25,6 +25,9 @@ public class ChangxFirstCourseRecordDocTrans extends ModelDocTrans {
|
|
|
public FirstCourseRecordDoc extract(MedrecVo medrecVo) {
|
|
|
String content = ((List<String>) medrecVo.getContent().get("content")).get(0);
|
|
|
String text = CxXmlUtil.getTextByNodePath(content, "//DocObjContent/Region/Content_Text");
|
|
|
+ if (StringUtil.isBlank(text)) {
|
|
|
+ text = CxXmlUtil.getTextByNodePath(content, "//DocObjContent/Region");
|
|
|
+ }
|
|
|
Map<String, String> cutWordMap = getCutWordMap(text);
|
|
|
Map<String, String> xmlNodeValueMap = CxXmlUtil.firstLevelNodeValue("//DocObjContent//Region", content);
|
|
|
cutWordMap.putAll(xmlNodeValueMap);
|