package jnpf.cultivate.v2.service;


import jnpf.base.service.SuperService;
import jnpf.model.cultivate.po.question.FtbCultivateQuestion;
import jnpf.model.cultivate.resp.QuestionVo;
import jnpf.model.cultivate.v2.question.req.BatchAddQuestionReq;
import jnpf.model.cultivate.v2.question.req.V2EditQuestionReq;
import jnpf.model.cultivate.v2.question.req.V2ExcelImportQuestionResultReq;
import jnpf.model.cultivate.v2.question.req.V2ImportQuestionResultVo;

import javax.validation.Valid;
import java.util.List;

public interface V2CultivateQuestionService extends SuperService<FtbCultivateQuestion> {


    void batchAddQuestion(@Valid BatchAddQuestionReq req) throws Exception;

    void updateData(@Valid V2EditQuestionReq editQuestion) throws Exception;

    QuestionVo getInfo(String id);

    V2ImportQuestionResultVo realImportData(String questionBankId, List<V2ExcelImportQuestionResultReq> normal);
}
