Browse Source

优化 撤回处理的代码

master
PoffyZhang 1 year ago
parent
commit
ba567fbe4a
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java

+ 1
- 0
pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java View File

@@ -180,6 +180,7 @@ public class TodoCenterManage {
return PageVo.empty();
}

todoList = todoList.stream().filter(Objects::nonNull).collect(Collectors.toList());
List<ProcessTaskVo> userTodoList = todoList.stream()
.skip((long) (pageNumber - 1) * pageSize)
.limit(pageSize)


Loading…
Cancel
Save