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

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.subsidy.dto.exercise.GetAllExercisesDTO;
import com.subsidy.dto.exercise.GetPaperExerciseDTO;
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> {

    String addExercise(ExerciseDictDO exerciseDictDO);

    String deleteExercise(ExerciseDictDO exerciseDictDO);

    String updateExercise(ExerciseDictDO exerciseDictDO);

    Long submit(SubmitDTO submitDTO);

    IPage getPaperExercise(GetPaperExerciseDTO getPaperExerciseDTO);
}