|
@@ -4108,7 +4108,7 @@ public class WorkflowExecuteServiceImpl implements IWorkflowExecuteService {
|
|
|
historicProcessInstanceQuery.orderByProcessInstanceStartTime().desc();
|
|
|
|
|
|
int startNum = (dto.getLimit() - 1) * dto.getSize();
|
|
|
- List<HistoricProcessInstance> historicProcessInstances = historicProcessInstanceQuery.listPage(startNum, startNum + dto.getSize());
|
|
|
+ List<HistoricProcessInstance> historicProcessInstances = historicProcessInstanceQuery.listPage(startNum, dto.getSize());
|
|
|
|
|
|
//获取到所有流程id
|
|
|
List<String> processIds = historicProcessInstances.stream().map(HistoricProcessInstance::getId).collect(Collectors.toList());
|