| | |
| | | if (StringUtils.isBlank(s.getDeleteReason())) { |
| | | flowViewerList.add(flowViewerDto); |
| | | } |
| | | flowViewerDto.setHasJump(processLogService.taskIsJump(s.getTaskId(), procInsId)); |
| | | flowViewerDto.setHasWait(processLogService.taskIsWait(s.getTaskId(), procInsId)); |
| | | }); |
| | | |
| | | // 获取代办节点 |
| | |
| | | // 扩展内容 代办的通过当前时间作为endTime |
| | | ProcessCoding processCoding = processCodingMap.get(s.getTaskId()); |
| | | //如果有监控数据 不反的话前端默认是进行中(蓝色) |
| | | if (processCoding != null && (RED.equals(processCoding.getStatus()) || YELLOW.equals(processCoding.getStatus()))) { |
| | | flowViewerDto.setOvertime(processCoding.getStatus()); |
| | | if (Objects.nonNull(processCoding)) { |
| | | if (RED.equals(processCoding.getStatus()) || YELLOW.equals(processCoding.getStatus())) { |
| | | flowViewerDto.setOvertime(processCoding.getStatus()); |
| | | } |
| | | } |
| | | flowViewerList.add(flowViewerDto); |
| | | }); |