| | |
| | | } |
| | | |
| | | @Override |
| | | public List<String> selectJobIdByName(String name) { |
| | | List<WaylineJobEntity> waylineJobs = mapper.selectList(new LambdaQueryWrapper<WaylineJobEntity>() |
| | | .select(WaylineJobEntity::getJobId) |
| | | .like(WaylineJobEntity::getName, name)); |
| | | return waylineJobs.stream() |
| | | .map(WaylineJobEntity::getJobId) |
| | | .collect(Collectors.toList()); |
| | | } |
| | | |
| | | |
| | | |
| | | @Override |
| | | public void uploadMediaHighestPriority(String workspaceId, String jobId) { |
| | | Optional<WaylineJobDTO> jobOpt = getJobByJobId(workspaceId, jobId); |
| | | if (jobOpt.isEmpty()) { |