|
@@ -173,17 +173,16 @@ public class BehospitalInfoFacade extends BehospitalInfoServiceImpl {
|
|
|
BeanUtil.copyProperties(getDetailVO, analyzeVO);
|
|
|
List<MsgDTO> msgDTOList = getMsg(analyzeVO);
|
|
|
if (ListUtil.isNotEmpty(msgDTOList)) {
|
|
|
-
|
|
|
- }
|
|
|
- // 从qc_question_info的cases_entry_ids获取
|
|
|
- Map<String, Object> paramMap = new HashMap<>();
|
|
|
- paramMap.put("hospitalId", hospitalId);
|
|
|
- paramMap.put("casesEntryIds", msgDTOList.stream().map(r -> r.getCasesEntryId()).collect(Collectors.toList()));
|
|
|
- Map<Long, List<QuestionEntryDTO>> quesEntryMap = qcQuestionFacade.getByCaseEntryIdsFac(paramMap);
|
|
|
- for (MsgDTO msgDTO : msgDTOList) {
|
|
|
- if (quesEntryMap.get(msgDTO.getCasesEntryId()) != null) {
|
|
|
- msgDTO.setPageKeyList(quesEntryMap.get(msgDTO.getCasesEntryId())
|
|
|
- .stream().map(r -> r.getId()).collect(Collectors.toList()));
|
|
|
+ // 从qc_question_info的cases_entry_ids获取
|
|
|
+ Map<String, Object> paramMap = new HashMap<>();
|
|
|
+ paramMap.put("hospitalId", hospitalId);
|
|
|
+ paramMap.put("casesEntryIds", msgDTOList.stream().map(r -> r.getCasesEntryId()).collect(Collectors.toList()));
|
|
|
+ Map<Long, List<QuestionEntryDTO>> quesEntryMap = qcQuestionFacade.getByCaseEntryIdsFac(paramMap);
|
|
|
+ for (MsgDTO msgDTO : msgDTOList) {
|
|
|
+ if (quesEntryMap.get(msgDTO.getCasesEntryId()) != null) {
|
|
|
+ msgDTO.setPageKeyList(quesEntryMap.get(msgDTO.getCasesEntryId())
|
|
|
+ .stream().map(r -> r.getId()).collect(Collectors.toList()));
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
// 根据模块分组
|