package com.yihu.jw.hospital.survey.dao;

import com.yihu.jw.entity.hospital.survey.WlyySurveyQuestionsOptionDO;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

/**
 * Created by Trick on 2019/9/6.
 */
public interface SurveyQuestionsOptionDao extends PagingAndSortingRepository<WlyySurveyQuestionsOptionDO, String>, JpaSpecificationExecutor<WlyySurveyQuestionsOptionDO> {

    List<WlyySurveyQuestionsOptionDO> findByQuestionCodeAndDelOrderBySortAsc(String questionCode,String del);
}
