| | |
| | | // vo.setSendTime(action.getStartTime()); |
| | | vo.setBusNo(task.getBusId$()); |
| | | vo.setActionCount(actionList.size()); |
| | | vo.setTaskIds(list.stream().map(Segment::getTaskId).collect(Collectors.toList())); |
| | | vo.setCodeList(actionList.stream().map(Action::getCode).distinct().collect(Collectors.toList())); |
| | | return vo; |
| | | } |
| | | |
| | |
| | | } |
| | | Code code = codeService.getById(recentCode); |
| | | |
| | | List<String> codeList = actionList.stream().map(Action::getCode).collect(Collectors.toList()); |
| | | List<String> codeList = actionList.stream().map(Action::getCode).distinct().collect(Collectors.toList()); |
| | | |
| | | int totalCodes = codeList.size(); |
| | | int currentIndex = codeList.indexOf(code.getData()); |