package com.ssj.dao.sys.game.dao;

import com.ssj.bean.sys.game.domain.GameQuestionOption;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author Mount Liu
 * @date 2018/2/19
 */
@Repository
public interface GameQuestionOptionDao extends JpaRepository<GameQuestionOption, String> {

    /**
     * 根据查体查询选项
     * @param questionId
     * @return
     */
    List<GameQuestionOption> findByQuestionId(String questionId);
}
