package com.yihu.wlyy.repository.demographic;

import com.yihu.wlyy.entity.dict.FoundationMedicalSystemParam;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

/**
 * Created by Administrator on 2016.08.20.
 */
public interface TblsysParamDao extends PagingAndSortingRepository<FoundationMedicalSystemParam, Long>, JpaSpecificationExecutor<FoundationMedicalSystemParam> {

    @Query(" FROM FoundationMedicalSystemParam a WHERE a.paramname=?1 ")
    List<FoundationMedicalSystemParam> findByParamname(String relaholder);
}
