manage: queryViewDetail fix

dev_2.1.0
xueqingkun
parent 2c923f00ce
commit b0ef90bcf2

@ -94,7 +94,9 @@ public class MedicalRecordServiceImpl implements MedicalRecordService {
// 3.1 体格检查
List<AskPhysicalHistoryResVO> askPhysicalHistoryResVOS = diagnosisPhysicalRecordService.queryAskPhysicalHistory(processId);
resultVo.setPhysicalDiagnosisNameList(
askPhysicalHistoryResVOS.stream().map(e -> e.getToolName() + " " + e.getLocationName()).distinct().collect(Collectors.toList()));
askPhysicalHistoryResVOS.stream()
.map(e -> e.getToolName() + (StrUtil.isEmpty(e.getLocationName()) ? StrUtil.EMPTY : StrUtil.SPACE + e.getLocationName()))
.distinct().collect(Collectors.toList()));
// 3.2 辅助检查
List<AskAncillaryHistoryResVO> askAncillaryHistoryResVOS = diagnosisAncillaryRecordService.queryAncillaryRecord(processId);
resultVo.setAncillaryDiagnosisNameList(

Loading…
Cancel
Save