|
|
|
@ -42,7 +42,7 @@ public class ProcessRecordServiceImpl implements ProcessRecordService {
|
|
|
|
|
// 首先这里根据疾病类型筛选出来符合条件的疾病
|
|
|
|
|
if (StrUtil.isNotBlank(diseaseType)) {
|
|
|
|
|
// 首先查询符合条件的疾病
|
|
|
|
|
List<Disease> theDiseaseList = diseaseService.lambdaQuery().like(Disease::getDiseaseNameAlias, diseaseType).select(Disease::getId).list();
|
|
|
|
|
List<Disease> theDiseaseList = diseaseService.lambdaQuery().eq(Disease::getId, diseaseType).select(Disease::getId).list();
|
|
|
|
|
if (CollUtil.isNotEmpty(theDiseaseList)) {
|
|
|
|
|
Set<String> containsSet = theDiseaseList.stream().map(Disease::getId).collect(Collectors.toSet());
|
|
|
|
|
List<String> diseases = diseaseService.queryAllDiseaseListByDiseaseId(new ArrayList<>(containsSet));
|
|
|
|
|