|
@@ -213,7 +213,7 @@ public class BehospitalInfoFacade extends BehospitalInfoServiceImpl {
|
|
EncrypDES encrypDES = new EncrypDES();
|
|
EncrypDES encrypDES = new EncrypDES();
|
|
for (RecordContentDTO recordContentDTO : recordContentDTOList) {
|
|
for (RecordContentDTO recordContentDTO : recordContentDTOList) {
|
|
recTitle = recordContentDTO.getRecTitle();
|
|
recTitle = recordContentDTO.getRecTitle();
|
|
- recordContentDTO.setContentText(encrypDES.decryptor(recordContentDTO.getContentText()));
|
|
|
|
|
|
+ recordContentDTO.setXmlText(encrypDES.decryptor(recordContentDTO.getXmlText()));
|
|
}
|
|
}
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
throw new CommonException(CommonErrorCode.SERVER_IS_ERROR,
|
|
throw new CommonException(CommonErrorCode.SERVER_IS_ERROR,
|
|
@@ -365,7 +365,7 @@ public class BehospitalInfoFacade extends BehospitalInfoServiceImpl {
|
|
MedrecVo medrecVo = new MedrecVo();
|
|
MedrecVo medrecVo = new MedrecVo();
|
|
medrecVo.setTitle(key);
|
|
medrecVo.setTitle(key);
|
|
Map<String, Object> content = new HashMap<>();
|
|
Map<String, Object> content = new HashMap<>();
|
|
- content.put("content", list.stream().map(r -> r.getContentText()).collect(Collectors.toList()));
|
|
|
|
|
|
+ content.put("content", list.stream().map(r -> r.getXmlText()).collect(Collectors.toList()));
|
|
medrecVo.setContent(content);
|
|
medrecVo.setContent(content);
|
|
medrecVoList.add(medrecVo);
|
|
medrecVoList.add(medrecVo);
|
|
}
|
|
}
|
|
@@ -388,7 +388,7 @@ public class BehospitalInfoFacade extends BehospitalInfoServiceImpl {
|
|
Boolean flag = false;
|
|
Boolean flag = false;
|
|
for (String k : keyList) {
|
|
for (String k : keyList) {
|
|
if (ListUtil.isNotEmpty(recMap.get(k))) {
|
|
if (ListUtil.isNotEmpty(recMap.get(k))) {
|
|
- listMap.put(k, recMap.get(k).stream().map(r -> r.getContentText()).collect(Collectors.toList()));
|
|
|
|
|
|
+ listMap.put(k, recMap.get(k).stream().map(r -> r.getXmlText()).collect(Collectors.toList()));
|
|
flag = true;
|
|
flag = true;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -424,7 +424,7 @@ public class BehospitalInfoFacade extends BehospitalInfoServiceImpl {
|
|
Set<String> keyList = keyMap.keySet();
|
|
Set<String> keyList = keyMap.keySet();
|
|
for (String k : keyList) {
|
|
for (String k : keyList) {
|
|
if (ListUtil.isNotEmpty(keyMap.get(k))) {
|
|
if (ListUtil.isNotEmpty(keyMap.get(k))) {
|
|
- listMap.put(k, keyMap.get(k).stream().map(r -> r.getContentText()).collect(Collectors.toList()));
|
|
|
|
|
|
+ listMap.put(k, keyMap.get(k).stream().map(r -> r.getXmlText()).collect(Collectors.toList()));
|
|
}
|
|
}
|
|
}
|
|
}
|
|
content.put("content", listMap);
|
|
content.put("content", listMap);
|