package com.qxgmat.data.relation;

import com.qxgmat.data.dao.entity.TextbookQuestion;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by gaojie on 2017/11/9.
 */
public interface TextbookQuestionRelationMapper {

    void accumulation(
            @Param("id") Number textbookQuestionId,
            @Param("number") Integer number,
            @Param("time") Integer time,
            @Param("current") Integer current
    );

    List<TextbookQuestion> listAdmin(
            @Param("questionType") String questionType,
            @Param("paperId") Number paperId,
            @Param("questionNoId") Number questionNoId,
            @Param("order") String order,
            @Param("direction") String direction
    );
}
