ITTrainCourseTopicService.java 1.9 KB
Newer Older
耿迪迪's avatar
耿迪迪 committed
1 2 3
package com.zehong.system.service;

import com.zehong.system.domain.TTrainCourseTopic;
4 5 6
import com.zehong.system.domain.vo.BatchTopicVo;

import java.util.List;
耿迪迪's avatar
耿迪迪 committed
7 8 9

/**
 * 培训课程题库Service接口
吴卿华's avatar
吴卿华 committed
10
 *
耿迪迪's avatar
耿迪迪 committed
11 12 13
 * @author zehong
 * @date 2022-09-19
 */
吴卿华's avatar
吴卿华 committed
14
public interface ITTrainCourseTopicService
耿迪迪's avatar
耿迪迪 committed
15 16 17
{
    /**
     * 查询培训课程题库
吴卿华's avatar
吴卿华 committed
18
     *
耿迪迪's avatar
耿迪迪 committed
19 20 21 22 23 24 25
     * @param topicId 培训课程题库ID
     * @return 培训课程题库
     */
    public TTrainCourseTopic selectTTrainCourseTopicById(Long topicId);

    /**
     * 查询培训课程题库列表
吴卿华's avatar
吴卿华 committed
26
     *
耿迪迪's avatar
耿迪迪 committed
27 28 29 30 31 32 33 34
     * @param tTrainCourseTopic 培训课程题库
     * @return 培训课程题库集合
     */
    public List<TTrainCourseTopic> selectTTrainCourseTopicList(TTrainCourseTopic tTrainCourseTopic);
    public List<TTrainCourseTopic> selectCourseTopicList(Long courseId);

    /**
     * 新增培训课程题库
吴卿华's avatar
吴卿华 committed
35
     *
耿迪迪's avatar
耿迪迪 committed
36 37 38 39 40 41 42
     * @param tTrainCourseTopic 培训课程题库
     * @return 结果
     */
    public int insertTTrainCourseTopic(TTrainCourseTopic tTrainCourseTopic);

    /**
     * 修改培训课程题库
吴卿华's avatar
吴卿华 committed
43
     *
耿迪迪's avatar
耿迪迪 committed
44 45 46 47 48 49 50
     * @param tTrainCourseTopic 培训课程题库
     * @return 结果
     */
    public int updateTTrainCourseTopic(TTrainCourseTopic tTrainCourseTopic);

    /**
     * 批量删除培训课程题库
吴卿华's avatar
吴卿华 committed
51
     *
耿迪迪's avatar
耿迪迪 committed
52 53 54 55 56 57 58
     * @param topicIds 需要删除的培训课程题库ID
     * @return 结果
     */
    public int deleteTTrainCourseTopicByIds(Long[] topicIds);

    /**
     * 删除培训课程题库信息
吴卿华's avatar
吴卿华 committed
59
     *
耿迪迪's avatar
耿迪迪 committed
60 61 62 63
     * @param topicId 培训课程题库ID
     * @return 结果
     */
    public int deleteTTrainCourseTopicById(Long topicId);
64 65 66 67 68 69 70

    /**
     * 题库批量导入试题
     * @param batchTopicVo 试题实体
     * @return int
     */
    int bachAddTopic(BatchTopicVo batchTopicVo);
吴卿华's avatar
吴卿华 committed
71 72 73 74 75 76 77

    /**
     * 培训课程管理批量导入试题
     * @param batchTopicVo
     * @return
     */
    int addTTrainCourseTopic(BatchTopicVo batchTopicVo);
耿迪迪's avatar
耿迪迪 committed
78
}