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

import com.qmth.distributed.print.business.entity.CourseDimension;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qmth.teachcloud.common.entity.SysUser;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * <p>
 * 课程知识点表 服务类
 * </p>
 *
 * @author CaoZixuan
 * @since 2024-02-27
 */
public interface CourseDimensionService extends IService<CourseDimension> {

    /**
     * 导入课程知识点
     *
     * @param requestUser   请求人
     * @param file          知识点excel
     * @param teachCourseId 教学课程id
     */
    void importCourseDimension(SysUser requestUser, MultipartFile file, Long teachCourseId) throws Exception;

    /**
     * 同步题库课程知识点属性
     *
     * @param teachCourseId 教学课程id
     */
    void syncTikuCourseProperties(Long teachCourseId);
}
