...
This commit is contained in:
parent
35bd409045
commit
d9c3b28ec5
|
@ -290,7 +290,7 @@ public class ActHistoryService {
|
||||||
if (dto.isEnded()) { // 已结束
|
if (dto.isEnded()) { // 已结束
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
List<Task> listTask = taskService.createTaskQuery().processInstanceId(dto.getProcessInstanceId()).includeProcessVariables().includeTaskLocalVariables().list();
|
List<Task> listTask = taskService.createTaskQuery().processInstanceId(dto.getProcessInstanceId()).includeProcessVariables().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();
|
||||||
|
@ -321,7 +321,7 @@ public class ActHistoryService {
|
||||||
dto.setProcessInstanceId(task.getProcessInstanceId());
|
dto.setProcessInstanceId(task.getProcessInstanceId());
|
||||||
dto.setOwner(task.getOwner());
|
dto.setOwner(task.getOwner());
|
||||||
dto.setCreateTime(task.getCreateTime());
|
dto.setCreateTime(task.getCreateTime());
|
||||||
dto.setParams(task.getTaskLocalVariables());
|
dto.setParams(task.getProcessVariables());
|
||||||
if (dto.getParams().containsKey("backToFirst")) {
|
if (dto.getParams().containsKey("backToFirst")) {
|
||||||
dto.setBackToFirst(Boolean.valueOf(dto.getParams().get("backToFirst").toString()));
|
dto.setBackToFirst(Boolean.valueOf(dto.getParams().get("backToFirst").toString()));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue