package com.teaching.backend.service.resource; import com.teaching.backend.common.BaseResponse; import com.teaching.backend.model.entity.resource.Resources; import org.springframework.core.io.InputStreamResource; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.multipart.MultipartFile; import java.util.List; import java.util.Set; /** * @Author:youhang * @Date:2024-07-26-13:55 * @Description: */ public interface ResourceGraphService { public BaseResponse deleteResourcesAndKnowById(Long id, Long resourcesId); BaseResponse addResourcesByIdAndResourcesId(Long id, Long resourcesId); //查询课程下资源 BaseResponse> queryResourcesByCourseId(String courseId); //查询章节下资源 BaseResponse> queryResourcesByChapterId(Long chapterId); //查询二级节点下资源 BaseResponse> queryBesidesKnowToResources(Long knowId); BaseResponse> queryResourcesByKnowId(Long knowId); }