|
@@ -90,8 +90,8 @@ public class BehospitalInfoFacade extends BehospitalInfoServiceImpl {
|
|
|
|
|
|
public Map<String, Object> analyze(AnalyzeVO analyzeVO) {
|
|
public Map<String, Object> analyze(AnalyzeVO analyzeVO) {
|
|
|
|
|
|
- // Long hospitalId = Long.parseLong(SysUserUtils.getCurrentHospitalID());
|
|
|
|
- Long hospitalId = 1L; // 写死
|
|
|
|
|
|
+ Long hospitalId = Long.parseLong(SysUserUtils.getCurrentHospitalID());
|
|
|
|
+// Long hospitalId = 1L; // 写死
|
|
analyzeVO.setHospitalId(hospitalId);
|
|
analyzeVO.setHospitalId(hospitalId);
|
|
// 获取质控条目
|
|
// 获取质控条目
|
|
List<QcCasesEntryDTO> qcCasesEntryDTOList = qcCasesEntryFacade.getQcCasesEntry(analyzeVO);
|
|
List<QcCasesEntryDTO> qcCasesEntryDTOList = qcCasesEntryFacade.getQcCasesEntry(analyzeVO);
|
|
@@ -302,19 +302,19 @@ public class BehospitalInfoFacade extends BehospitalInfoServiceImpl {
|
|
MedrecVo medrecVo = new MedrecVo();
|
|
MedrecVo medrecVo = new MedrecVo();
|
|
medrecVo.setTitle(key);
|
|
medrecVo.setTitle(key);
|
|
|
|
|
|
- Map<String, String> map = dicMap.get(2L); // 病案首页
|
|
|
|
|
|
+ Map<String, String> map = dicMap.get("2"); // 病案首页
|
|
Map<String, Object> content = new HashMap<>();
|
|
Map<String, Object> content = new HashMap<>();
|
|
try {
|
|
try {
|
|
Map<String, Object> objectMap = MapUtil.objectToMap(homePage);
|
|
Map<String, Object> objectMap = MapUtil.objectToMap(homePage);
|
|
for (String objKey : objectMap.keySet()) {
|
|
for (String objKey : objectMap.keySet()) {
|
|
- if (map.get(objKey) != null) {
|
|
|
|
|
|
+ if (map.containsKey(objKey)) {
|
|
content.put(map.get(objKey), String.valueOf(objectMap.get(objKey)));
|
|
content.put(map.get(objKey), String.valueOf(objectMap.get(objKey)));
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
// 病案首页手术信息
|
|
// 病案首页手术信息
|
|
if (ListUtil.isNotEmpty(homeOperationInfoList)) {
|
|
if (ListUtil.isNotEmpty(homeOperationInfoList)) {
|
|
- Map<String, String> dic3 = dicMap.get(3L); // 病案首页手术信息
|
|
|
|
|
|
+ Map<String, String> dic3 = dicMap.get("3"); // 病案首页手术信息
|
|
List<Map> mapList = new ArrayList<>();
|
|
List<Map> mapList = new ArrayList<>();
|
|
for (HomeOperationInfo homeOperationInfo : homeOperationInfoList) {
|
|
for (HomeOperationInfo homeOperationInfo : homeOperationInfoList) {
|
|
try {
|
|
try {
|
|
@@ -334,7 +334,7 @@ public class BehospitalInfoFacade extends BehospitalInfoServiceImpl {
|
|
|
|
|
|
// 病案首页诊断信息
|
|
// 病案首页诊断信息
|
|
if (ListUtil.isNotEmpty(homeDiagnoseInfoList)) {
|
|
if (ListUtil.isNotEmpty(homeDiagnoseInfoList)) {
|
|
- Map<String, String> dic4 = dicMap.get(4L); // 病案首页诊断信息
|
|
|
|
|
|
+ Map<String, String> dic4 = dicMap.get("4"); // 病案首页诊断信息
|
|
List<Map> mapList = new ArrayList<>();
|
|
List<Map> mapList = new ArrayList<>();
|
|
for (HomeDiagnoseInfo homeDiagnoseInfo : homeDiagnoseInfoList) {
|
|
for (HomeDiagnoseInfo homeDiagnoseInfo : homeDiagnoseInfoList) {
|
|
try {
|
|
try {
|