manage: queryProcessRecordPage fix

dev_2.1.0
xueqingkun 1 year ago
parent 9947203bd3
commit b6c21372e7

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

Loading…
Cancel
Save