图谱-后端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

34 lines
879 B

package com.teaching.backend.service.knowtmp;
import com.teaching.backend.common.BaseResponse;
import com.teaching.backend.model.dto.Knowtmp.KnowtempAdd;
import com.teaching.backend.model.dto.Knowtmp.KnowtempUpdate;
import com.teaching.backend.model.entity.knowtmp.Knowtmp;
import java.util.List;
/**
* @Author:youhang
* @Date:2024-08-07-15:09
* @Description:
*/
public interface KnowtmpService {
// 添加知识点
BaseResponse<String> add(KnowtempAdd knowtempAdd);
//修改知识点
BaseResponse<String> update(KnowtempUpdate knowtempUpdate);
//删除知识点
BaseResponse<String> delete(Long id);
//查询
BaseResponse<Knowtmp> query(Long id);
//查询通过chapterId List
List<Knowtmp> queryByChapterId(Long chapterId);
//查询通过chapterId List
List<Knowtmp> queryByChapterIdList(List<Long> chapterIdList);
}