Przeglądaj źródła

getProcessMonitorPage

fanxp 2 miesięcy temu
rodzic
commit
7847ae98fe

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