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

import com.yihu.jw.entity.hospital.survey.WlyySurveyTemplateQuestionDO;
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 SurveyTemplateQuestionDao extends PagingAndSortingRepository<WlyySurveyTemplateQuestionDO, String>, JpaSpecificationExecutor<WlyySurveyTemplateQuestionDO> {

    List<WlyySurveyTemplateQuestionDO> findByTemplateCodeAndDelOrderBySortAsc(String templateCode,String del);
}
