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

import com.yihu.jw.entity.hospital.prescription.WlyyHospitalWorkRuleDO;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

/**
 * Created by Trick on 2020/3/24.
 */
public interface WlyyHospitalWorkRuleDao extends PagingAndSortingRepository<WlyyHospitalWorkRuleDO, String>, JpaSpecificationExecutor<WlyyHospitalWorkRuleDO> {

    List<WlyyHospitalWorkRuleDO> findByHospital(String hospital);
}
