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

@Repository("CssdHasilIndikatorDao")
public interface CssdHasilIndikatorDAO extends PagingAndSortingRepository<CssdHasilIndikator, String> {

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


}
