| | |
| | | import lombok.AllArgsConstructor; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | import java.util.*; |
| | | |
| | | /** |
| | | * 播放计划 |
| | |
| | | if (ledProgram == null) { |
| | | throw new BusinessException("未找到节目"); |
| | | } |
| | | if (SecurityUtils.getClientId() != null && !Objects.equals(ledProgram.getClientId(), SecurityUtils.getUserId()) && !Objects.equals(ledProgram.getClientId(), SecurityUtils.getClientId())) { |
| | | throw new BusinessException("请不要操作其他人的节目"); |
| | | } |
| | | String pages = ledProgram.getPages(); |
| | | List<String> playerIds = new ArrayList<>(); |
| | | nova.forEach(n -> { |