deal with
This commit is contained in:
parent
58ba499f79
commit
6954af5ba4
|
@ -193,9 +193,8 @@ public class ActTaskService extends BaseServiceImpl {
|
|||
} else {
|
||||
ArrayList<TaskDTO> recordLists = new ArrayList<>();
|
||||
recordLists.addAll(taskDtoList.stream()
|
||||
.sorted(Comparator.comparing(TaskDTO::getCreateTime).reversed())
|
||||
.distinct()
|
||||
.skip((curPage - 1) * limit)
|
||||
.sorted(Comparator.comparing(TaskDTO::getCreateTime).reversed())
|
||||
.limit(limit)
|
||||
.collect(Collectors.toList())
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue