From d9c3b28ec511a08a26b3169bd31f73ed07d12f7e Mon Sep 17 00:00:00 2001 From: wangliwen Date: Tue, 17 May 2022 10:54:23 +0800 Subject: [PATCH] ... --- .../io/renren/modules/activiti/service/ActHistoryService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/renren-admin/src/main/java/io/renren/modules/activiti/service/ActHistoryService.java b/renren-admin/src/main/java/io/renren/modules/activiti/service/ActHistoryService.java index ff12fccf..960e8e45 100644 --- a/renren-admin/src/main/java/io/renren/modules/activiti/service/ActHistoryService.java +++ b/renren-admin/src/main/java/io/renren/modules/activiti/service/ActHistoryService.java @@ -290,7 +290,7 @@ public class ActHistoryService { if (dto.isEnded()) { // 已结束 continue; } - List listTask = taskService.createTaskQuery().processInstanceId(dto.getProcessInstanceId()).includeProcessVariables().includeTaskLocalVariables().list(); + List listTask = taskService.createTaskQuery().processInstanceId(dto.getProcessInstanceId()).includeProcessVariables().list(); List taskDTOList = new ArrayList<>(); for (Task task : listTask) { TaskDTO taskDTO = new TaskDTO(); @@ -321,7 +321,7 @@ public class ActHistoryService { dto.setProcessInstanceId(task.getProcessInstanceId()); dto.setOwner(task.getOwner()); dto.setCreateTime(task.getCreateTime()); - dto.setParams(task.getTaskLocalVariables()); + dto.setParams(task.getProcessVariables()); if (dto.getParams().containsKey("backToFirst")) { dto.setBackToFirst(Boolean.valueOf(dto.getParams().get("backToFirst").toString())); }