fanxp преди 1 месец
родител
ревизия
7847ae98fe
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/main/java/com/xjrsoft/module/workflow/service/impl/WorkflowExecuteServiceImpl.java

+ 1 - 1
src/main/java/com/xjrsoft/module/workflow/service/impl/WorkflowExecuteServiceImpl.java

@@ -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());