|
|
@ -186,8 +186,8 @@ public class WorkflowController { |
|
|
|
//获取taskid
|
|
|
|
List<HistoricTaskInstance> list = historyService.createHistoricTaskInstanceQuery() |
|
|
|
.processInstanceId(processInstanceId) |
|
|
|
.orderByTaskCreateTime().desc().list(); |
|
|
|
reshashMap.put("taskId",list.get(0).getId()); |
|
|
|
.orderByHistoricTaskInstanceEndTime().desc().list(); |
|
|
|
reshashMap.put("taskId",list.get(list.size()-1).getId()); |
|
|
|
//根据流程实例查询当前流所在位置
|
|
|
|
int size = taskService.createTaskQuery() |
|
|
|
.processInstanceId(processInstanceId) |
|
|
|