xuhy
2025-10-14 0d83a54d5f3ae08fe0ee4b3cd3fd72e94e2767e1
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());