package com.ssj.service.sys.opentest;

import com.ssj.bean.sys.opentest.OpenTestQuestion;
import com.ssj.framework.core.common.service.BaseService;

import java.util.List;

/**
 * @author Mount Liu
 * @date 2020/2/11
 */
public interface OpenTestQuestionService extends BaseService<OpenTestQuestion, String> {

    /**
     * 查找题目列表
     *
     * @param subject
     * @param grade
     * @param version
     * @return
     */
    List<OpenTestQuestion> findQuestionList(String subject, String grade, String version, Integer updateVersion);

    /**
     * 查找题目列表
     * @param subject
     * @param grade
     * @param version
     * @param unit
     * @param updateVersion -1已删除，0已录入，1已发布
     * @param type
     * @param semester
     * @return
     */
    List<OpenTestQuestion> findQuestionList(String subject, String grade, String version, String unit, Integer updateVersion, int type, String semester);


}
