|
@@ -277,7 +277,6 @@ public class BehospitalInfoFacade extends BehospitalInfoServiceImpl {
|
|
|
* @return
|
|
|
*/
|
|
|
public List<MsgDTO> getMsgByBehospitalCode(AnalyzeRunVO analyzeRunVO) {
|
|
|
- Long hospitalId = Long.parseLong(SysUserUtils.getCurrentHospitalID());
|
|
|
// 获取病历信息
|
|
|
BehospitalInfo behospitalInfo = this.getOne(new QueryWrapper<BehospitalInfo>()
|
|
|
.eq("is_deleted", IsDeleteEnum.N.getKey())
|
|
@@ -299,7 +298,7 @@ public class BehospitalInfoFacade extends BehospitalInfoServiceImpl {
|
|
|
if (ListUtil.isNotEmpty(msgDTOList)) {
|
|
|
// 从qc_question_info的cases_entry_ids获取
|
|
|
Map<String, Object> paramMap = new HashMap<>();
|
|
|
- paramMap.put("hospitalId", hospitalId);
|
|
|
+ paramMap.put("hospitalId", analyzeRunVO.getHospitalId());
|
|
|
paramMap.put("casesEntryIds", msgDTOList.stream().map(r -> r.getCasesEntryId()).collect(Collectors.toList()));
|
|
|
Map<Long, List<QuestionEntryDTO>> quesEntryMap = qcQuestionFacade.getByCaseEntryIdsFac(paramMap);
|
|
|
for (MsgDTO msgDTO : msgDTOList) {
|