|
@@ -273,20 +273,14 @@ public class BehospitalInfoFacade extends BehospitalInfoServiceImpl {
|
|
|
queryVo.setInputCatalogueMap(getInputCatalogueMap(qcCasesEntryDTOList)); // 设置质控条目编码
|
|
|
List<MedrecVo> medrecVoList = new ArrayList<>(); // 设置内容
|
|
|
|
|
|
-
|
|
|
// 添加住院病历信息
|
|
|
- List<BehospitalInfo> behospitalInfoList = this.list(new QueryWrapper<BehospitalInfo>()
|
|
|
+ BehospitalInfo behospitalInfo = this.getOne(new QueryWrapper<BehospitalInfo>()
|
|
|
.eq("is_deleted", IsDeleteEnum.N.getKey())
|
|
|
.eq("hospital_id", hospitalId)
|
|
|
- .eq("behospital_code", analyzeVO.getBehospitalCode())
|
|
|
+ .eq("behospital_code", analyzeVO.getBehospitalCode()), false
|
|
|
);
|
|
|
- if (ListUtil.isNotEmpty(behospitalInfoList)) {
|
|
|
- MedrecVo medrecVo = new MedrecVo();
|
|
|
- medrecVo.setTitle("住院病历信息");
|
|
|
- Map<String, Object> content = new HashMap<>();
|
|
|
- content.put("content", behospitalInfoList);
|
|
|
- medrecVo.setContent(content);
|
|
|
- medrecVoList.add(medrecVo);
|
|
|
+ if (behospitalInfo != null) {
|
|
|
+ queryVo.setBehospitalInfo(behospitalInfo);
|
|
|
}
|
|
|
|
|
|
// 会诊记录
|