package com.jasamedika.medifirst2000.dao;

import java.util.List;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import com.jasamedika.medifirst2000.entities.StatusGinekologiDetail;

@Repository("StatusGinekologiDetailDao")
public interface StatusGinekologiDetailDao extends PagingAndSortingRepository<StatusGinekologiDetail, String>{
	@Query("select p from StatusGinekologiDetail p where p.produkDetailLabAnatomi.noRec=:noRec ")	
	List<StatusGinekologiDetail> findByStatusGinekologi(@Param("noRec") String noRec);

}
