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

import com.yihu.jw.entity.hospital.consult.WlyyDoctorClinicRoomDO;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

/**
 * Created by Trick on 2019/5/23.
 */
public interface DoctorClinicRoomConsultDao extends PagingAndSortingRepository<WlyyDoctorClinicRoomDO, String>, JpaSpecificationExecutor<WlyyDoctorClinicRoomDO> {

    List<WlyyDoctorClinicRoomDO> findByDoctorAndStatus(String doctor,Integer status);
}
