ExerciseDictService.java 915 Bytes
package com.subsidy.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.subsidy.dto.exercise.GetAllExercisesDTO;
import com.subsidy.dto.exercise.SubmitDTO;
import com.subsidy.model.CourseDictDO;
import com.subsidy.model.ExerciseDictDO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.subsidy.vo.course.ExerciseVO;

import java.util.List;

/**
 * <p>
 * 习题库 服务类
 * </p>
 *
 * @author DengMin
 * @since 2021-10-12
 */
public interface ExerciseDictService extends IService<ExerciseDictDO> {

    IPage<ExerciseDictDO> getAllExercises(GetAllExercisesDTO getAllExercisesDTO);

    String addExercise(ExerciseDictDO exerciseDictDO);

    String deleteExercise(ExerciseDictDO exerciseDictDO);

    String updateExercise(ExerciseDictDO exerciseDictDO);

    List<ExerciseVO> getCourseExercises(CourseDictDO courseDictDO);

    String submit(SubmitDTO submitDTO);

}