package com.qmth.distributed.print.business.service;

import com.qmth.distributed.print.business.bean.params.ObeCourseEvaluationParam;
import com.qmth.distributed.print.business.bean.result.ObeCourseEvaluationResult;
import com.qmth.distributed.print.business.entity.ObeCourseEvaluation;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 课程评价方式 服务类
 * </p>
 *
 * @author CaoZixuan
 * @since 2024-02-22
 */
public interface ObeCourseEvaluationService extends IService<ObeCourseEvaluation> {

    /**
     * 查询课程评价方式集合
     *
     * @param obeCourseOutlineId 课程大纲id
     * @return 课程评价方式结果
     */
    List<ObeCourseEvaluationResult> findCourseEvaluationList(Long obeCourseOutlineId);

    /**
     * 保存课程评价方式
     *
     * @param obeCourseEvaluationParam 课程评价方式参数
     */
    void saveCourseEvaluation(ObeCourseEvaluationParam obeCourseEvaluationParam);

    /**
     * 删除课程评价方式
     *
     * @param id 课程评价方式id
     */
    void deleteCourseEvaluation(Long id);

    /**
     * 创建默认的评价方式
     *
     * @param obeCourseOutlineId 课程大纲id
     */
    void createDefaultCourseEvaluation(Long obeCourseOutlineId);
}