Blame view

ExerciseDictService.java 1.55 KB
涂亚平 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
package com.meishu.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.meishu.dto.exercise.AddExerciseDTO;
import com.meishu.dto.exercise.CheckExerciseDTO;
import com.meishu.dto.exercise.GetTreeExercisesDTO;
import com.meishu.dto.voddict.GetToCheckVodCountsDTO;
import com.meishu.dto.voddict.PublicCheckingDTO;
import com.meishu.model.ExerciseDictDO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.meishu.model.ExerciseTreeMappingDO;
import com.meishu.vo.exercise.GetExerciseDetailVO;
import com.meishu.vo.exercise.GetTreeExercisesVO;
import com.meishu.vo.voddict.GetToCheckCountsVO;

/**
 * <p>
 * 习题库 服务类
 * </p>
 *
 * @author Tuyp
 * @since 2021-04-27
 */
public interface ExerciseDictService extends IService<ExerciseDictDO> {

    IPage<GetTreeExercisesVO> getTreeExercises(GetTreeExercisesDTO getTreeExercisesDTO);

    IPage<GetTreeExercisesVO> getCheckTreeExercises(GetTreeExercisesDTO getTreeExercisesDTO);

    String deleteExercise(ExerciseDictDO exerciseDictDO);

    String addExercise(AddExerciseDTO addExerciseDTO);

    String updateExercise(AddExerciseDTO addExerciseDTO);

    GetToCheckCountsVO getToCheckExeCounts(GetToCheckVodCountsDTO getToCheckVodCountsDTO);

    String checkExercise(CheckExerciseDTO checkExerciseDTO);

    IPage<ExerciseDictDO> publicUpload(PublicCheckingDTO publicCheckingDTO);

    String withdraw(ExerciseDictDO exerciseDictDO);

    GetExerciseDetailVO getExerciseDetail(ExerciseDictDO exerciseDictDO);

    String setRelatedExercise(ExerciseTreeMappingDO exerciseTreeMappingDO);

}