ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TSysEducationalInfoServiceImpl.java
@@ -16,6 +16,7 @@ import org.springframework.util.CollectionUtils; import java.util.List; import java.util.Objects; import java.util.Set; /** @@ -37,7 +38,7 @@ if (CollectionUtils.isEmpty(list)){ return pageInfo; } if(query.getRoleType() == 5){ if(Objects.nonNull(query.getRoleType()) && query.getRoleType() == 5){ Long userId = query.getUserId(); for (TSysEducationalInfoVO sysEducationalInfoVO : list) { Set<Long> cacheSet = redisCache.getCacheSet(Constants.SYS_EDUCATION_CLICK_COUNT + sysEducationalInfoVO.getId());