|
@@ -121,7 +121,7 @@ public class PartFacade {
|
|
|
List<ConceptDetail> conceptDetailList = conceptDetailFacade.list(
|
|
|
new QueryWrapper<ConceptDetail>()
|
|
|
.eq("is_deleted", IsDeleteEnum.N.getKey())
|
|
|
- .in("concept_id", symptomList.stream().map(row -> row.getConceptId()).collect(Collectors.toList()))
|
|
|
+ .in("concept_id", symptomList.stream().map(row -> row.getConceptId()).distinct().collect(Collectors.toList()))
|
|
|
.apply("find_in_set({0},position)", 7));
|
|
|
Map<Long, String> map = conceptDetailList.stream().collect(Collectors.toMap(row->row.getConceptId(), row->row.getText()));
|
|
|
System.out.println(list);
|