Skip to content

Commit

Permalink
修复查询BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
LuckyPuppy514 committed May 22, 2023
1 parent 21e7dfb commit 54321fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/lckp/jproxy/filter/IndexerFilter.java
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ public void doFilter(ServletRequest request, ServletResponse response, FilterCha
if (index == size - 1) {
if (StringUtils.isNotBlank(indexerRequest.getSeasonNumber())
&& offsetList.get(index - 1) < indexerRequest.getLimit()) {
indexerRequest.setSeasonNumber(null);
indexerRequest.setEpisodeNumber(null);
indexerRequest.setSeasonNumber("");
indexerRequest.setEpisodeNumber("");
} else {
break;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ public List<String> getSearchTitle(String title) {
.eq(TableField.TMDB_ID, radarrTitle.getTmdbId()).eq(TableField.SNO, 0).list();
if (!radarrTitleList.isEmpty()) {
searchTitleList.add(radarrTitleList.get(0).getCleanTitle());
searchTitleList.add(radarrTitleList.get(0).getCleanTitle());
}
}
return searchTitleList;
Expand Down

0 comments on commit 54321fa

Please sign in to comment.