From 35bd409045dadb18b168d3996acbf26931b7d2a5 Mon Sep 17 00:00:00 2001 From: wangliwen Date: Tue, 17 May 2022 10:49:43 +0800 Subject: [PATCH] ... --- .../io/renren/modules/activiti/service/ActHistoryService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 02a789c0..ff12fccf 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()).list(); + List listTask = taskService.createTaskQuery().processInstanceId(dto.getProcessInstanceId()).includeProcessVariables().includeTaskLocalVariables().list(); List taskDTOList = new ArrayList<>(); for (Task task : listTask) { TaskDTO taskDTO = new TaskDTO();