This commit is contained in:
wangliwen 2022-05-17 10:49:43 +08:00
parent 08f028e0a1
commit 35bd409045
1 changed files with 1 additions and 1 deletions

View File

@ -290,7 +290,7 @@ public class ActHistoryService {
if (dto.isEnded()) { // 已结束 if (dto.isEnded()) { // 已结束
continue; continue;
} }
List<Task> listTask = taskService.createTaskQuery().processInstanceId(dto.getProcessInstanceId()).list(); List<Task> listTask = taskService.createTaskQuery().processInstanceId(dto.getProcessInstanceId()).includeProcessVariables().includeTaskLocalVariables().list();
List<TaskDTO> taskDTOList = new ArrayList<>(); List<TaskDTO> taskDTOList = new ArrayList<>();
for (Task task : listTask) { for (Task task : listTask) {
TaskDTO taskDTO = new TaskDTO(); TaskDTO taskDTO = new TaskDTO();