| | |
| | | |
| | | @Cacheable(value = "homeCache", key = "'getAvailableResourceIds-'+'-'+#detailSystem.id+'-'+#versionCode+'-'+#channel") |
| | | public List<Long> getAvailableResourceIds(DetailSystem detailSystem, int versionCode,String channel) { |
| | | List<String> ridList = videoResourceVersionMapService.listResourceId(detailSystem.getId(), versionCode,channel); |
| | | List<String> ridList = videoResourceVersionMapService.listResourceId(detailSystem.getId(), versionCode,channel.toLowerCase()); |
| | | // if (detailSystem.getId().equalsIgnoreCase("43") && versionCode > 83) { |
| | | // ridList = new ArrayList<>(); |
| | | //// ridList.add("19"); |
| | |
| | | |
| | | @Cacheable(value = "homeCache", key = "'getAvailablePlayResourceIds-'+'-'+#detailSystem.id+'-'+#versionCode+'-'+#channel") |
| | | public List<Long> getAvailablePlayResourceIds(DetailSystem detailSystem, int versionCode,String channel) { |
| | | List<String> ridList = videoResourcePlayVersionMapService.listResourceId(detailSystem.getId(), versionCode,channel); |
| | | List<String> ridList = videoResourcePlayVersionMapService.listResourceId(detailSystem.getId(), versionCode,channel.toLowerCase()); |
| | | List<Long> ids = new ArrayList<>(); |
| | | if (ridList != null) { |
| | | for (String id : ridList) { |