Commit 2e4f8fb3 authored by suhuiguang's avatar suhuiguang

1.流程串问题

parent 6662d296
...@@ -1630,7 +1630,7 @@ public class CommonServiceImpl implements ICommonService { ...@@ -1630,7 +1630,7 @@ public class CommonServiceImpl implements ICommonService {
workflowResultDto.setExecutorName(item.getExecutor().getRealName()); workflowResultDto.setExecutorName(item.getExecutor().getRealName());
} }
if (!CollectionUtils.isEmpty(item.getNextTask())) { if (!CollectionUtils.isEmpty(item.getNextTask())) {
ActTaskDTO actTaskDTO = item.getNextTask().get(0); ActTaskDTO actTaskDTO = item.getNextTask().get(item.getNextTask().size() - 1);
workflowResultDto.setNextTaskId(actTaskDTO.getId()); workflowResultDto.setNextTaskId(actTaskDTO.getId());
workflowResultDto.setNextTaskCode(actTaskDTO.getKey()); workflowResultDto.setNextTaskCode(actTaskDTO.getKey());
workflowResultDto.setNextTaskName(actTaskDTO.getName()); workflowResultDto.setNextTaskName(actTaskDTO.getName());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment