|
|
|
|
@ -63,7 +63,7 @@ public class SupTaskService extends ServiceImpl<SupTaskMapper, SupTask> {
|
|
|
|
|
page.getRecords().forEach(s->{ |
|
|
|
|
List<SupTaskPerson> problems =personService.list(new LambdaQueryWrapper<SupTaskPerson>().eq(SupTaskPerson::getTaskId,s.getId())); |
|
|
|
|
if(CollectionUtil.isNotEmpty(problems)){ |
|
|
|
|
s.setPersons(problems.stream().map(SupTaskPerson::getName).collect(Collectors.joining(","))); |
|
|
|
|
s.setPersons(problems.stream().map(SupTaskPerson::getName).distinct().collect(Collectors.joining(","))); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|