|
|
@@ -177,7 +177,12 @@ public class TodoCenterManage { |
|
|
|
req.setProcessDefId(param.getProcessDefId()); |
|
|
|
req.setUserId(String.valueOf(userId)); |
|
|
|
req.setEmployeeCode(employeeCode); |
|
|
|
//有待办节点的(不包含退回) |
|
|
|
List<ProcessTaskVo> todoList = processTaskService.getUserTodoList(req); |
|
|
|
//有退回待办的 |
|
|
|
List<ProcessTaskVo> backList = processTaskService.getBackTodoList(req); |
|
|
|
todoList.addAll(backList); |
|
|
|
todoList.stream().sorted(Comparator.comparing(ProcessTaskVo::getTaskCreateTime).reversed()); |
|
|
|
|
|
|
|
if (CollUtil.isEmpty(todoList)) { |
|
|
|
return PageVo.empty(); |
|
|
|