chengyao 4 年之前
父节点
当前提交
f33d417606
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      src/main/java/com/diagbot/facade/BehospitalInfoFacade.java

+ 1 - 2
src/main/java/com/diagbot/facade/BehospitalInfoFacade.java

@@ -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) {