Merge branch 'master' into develop

This commit is contained in:
konbai
2022-10-08 22:02:58 +08:00

View File

@@ -256,8 +256,10 @@ public class WfProcessServiceImpl extends FlowServiceFactory implements IWfProce
} else { } else {
List<HistoricTaskInstance> historicTaskInstance = historyService.createHistoricTaskInstanceQuery() List<HistoricTaskInstance> historicTaskInstance = historyService.createHistoricTaskInstanceQuery()
.processInstanceId(hisIns.getId()).orderByHistoricTaskInstanceEndTime().desc().list(); .processInstanceId(hisIns.getId()).orderByHistoricTaskInstanceEndTime().desc().list();
if (CollUtil.isNotEmpty(historicTaskInstance)) {
taskVo.setTaskId(historicTaskInstance.get(0).getId()); taskVo.setTaskId(historicTaskInstance.get(0).getId());
} }
}
taskVoList.add(taskVo); taskVoList.add(taskVo);
} }
page.setRecords(taskVoList); page.setRecords(taskVoList);