#
luxiaotao1123
2024-09-29 b95b5437d64089f8cf4cfc1adb20b1e4ea583821
zy-acs-manager/src/main/java/com/zy/acs/manager/manager/service/impl/MissionServiceImpl.java
@@ -95,6 +95,7 @@
        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;
    }
@@ -112,7 +113,7 @@
        }
        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());