package com.sundot.airport.exam.logic.manage.service;

import com.sundot.airport.exam.common.HttpResult;
import com.sundot.airport.exam.dto.QuestionImportDTO;
import com.sundot.airport.exam.logic.manage.model.params.*;
import com.sundot.airport.exam.logic.manage.model.result.QuesAddResult;
import com.sundot.airport.exam.logic.manage.model.result.QuesGetResult;
import com.sundot.airport.exam.logic.manage.model.result.QuesPageResult;

import java.util.List;

/**
 * <b>功能名：QuesBizService</b><br>
 * <b>说明：</b>题目业务处理类<br>
 * <b>著作权：</b> Copyright (C) 2021 HUIFANEDU  CORPORATION<br>
 * <b>修改履历：</b><br>
 *
 * @author 2021-06-21 liangxiao
 */
public interface QuesBizService extends BaseBizService<QuesAddParam, QuesDelParam, QuesUpdParam, QuesPageParam,
        QuesAddResult, QuesGetResult, QuesPageResult> {

    /**
     * <b>方法名: </b> batchCatUpdate <br>
     * <b>说明: </b> 题目批量修改分类 <br>
     *
     * @param param com.sundot.airport.logic.manage.model.params.QuesUpdCatParam 题目修改分类请求参数
     * @return boolean<br>
     * <b>修改履历: </b>
     * @author 2021/6/21 liangxiao
     */
    HttpResult<Boolean> batchCatUpdate(QuesUpdCatParam param);

    /**
     * 导入
     * @param list
     * @return
     */
    void importData(List<QuestionImportDTO> list);
}
