package com.jasamedika.medifirst2000.dao; import org.springframework.data.repository.PagingAndSortingRepository; import org.springframework.stereotype.Repository; import com.jasamedika.medifirst2000.entities.Degree; /** * Repository class for Degree * * @author Generator */ @Repository("DegreeDao") public interface DegreeDao extends PagingAndSortingRepository { // @Query("select p from Degree p where p.pasienDaftar.pasien.noCm=:noCm and p.kdProfile=:kdProfile and date(p.pasienDaftar.tglRegistrasi)=:tglRegistrasi ") // Degree finByNoCmAndTglRegistrasi(@Param("noCm") String noCm,@Param("kdProfile") short kdProfile,@Param("tglRegistrasi") Date tglRegistrasi); }