diff --git a/community-service/src/main/java/com/tanpu/community/service/RecommendService.java b/community-service/src/main/java/com/tanpu/community/service/RecommendService.java index dabc0f43e783ccd054721bf2bc28961ab4a0e4da..11448eb17c5d2949419d60dc80074fd39e5de83e 100644 --- a/community-service/src/main/java/com/tanpu/community/service/RecommendService.java +++ b/community-service/src/main/java/com/tanpu/community/service/RecommendService.java @@ -66,7 +66,7 @@ public class RecommendService { List<String> newThemeIds = getNewestThemes().stream() .filter(theme -> { // 暂时ä¸è¿‡æ»¤ç”¨æˆ·è‡ªå·±å‘çš„ !userId.equals(theme.getAuthorId()); - return !excludeIds.contains(theme.getThemeId()) && theme.getMinutesTillNow() > margin; + return !excludeIds.contains(theme.getThemeId()) && theme.getMinutesTillNow() < margin; }) .map(ThemeAnalysDO::getThemeId).collect(Collectors.toList()); newThemeIds = BizUtils.subList(newThemeIds, 0, pageSize);