| | |
| | | private final FlowProgramFileService flowProgramFileService; |
| | | private final HistoryService historyService; |
| | | private final IUserClient userClient; |
| | | |
| | | private final FlowCommonService flowCommonService; |
| | | private final DoneMapper doneMapper; |
| | | // |
| | | public IPage<FlowVO> selectDonePage(IPage<FlowVO> page, String s, LocalDateTime createTimeBegin, LocalDateTime createTimeEnd, String keyword) { |
| | |
| | | pageDta.getRecords().forEach(flowVO->{ |
| | | flowVO.setVariables(varmap.get(flowVO.getProcessInstanceId())); |
| | | flowVO.setFile(this.getFileString(flowVO.getProcessInstanceId())); |
| | | |
| | | boolean active = flowCommonService.isProcessInstanceActive(flowVO.getProcessInstanceId()); |
| | | flowVO.setProcessIsFinished((Func.toStr(!active))); |
| | | }); |
| | | } |
| | | return pageDta; |