package com.jasamedika.medifirst2000.dao;

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.CssdUjiVisual;

@Repository("CssdUjiVisualDAO")
public interface CssdUjiVisualDAO extends PagingAndSortingRepository<CssdUjiVisual, Integer> {

	@Query("select r from CssdUjiVisual r where r.planningPelayananId=:noRec ")
	CssdUjiVisual findByParent(@Param("noRec") String noRec);


}
