Update TargetSkorDokterDetailDao
Penambahan parameter tahun untuk get target skor dokter di kontrak kinerja
This commit is contained in:
parent
a807599f25
commit
758bdfd1c0
@ -23,8 +23,9 @@ public interface TargetSkorDokterDetailDao extends PagingAndSortingRepository<Ta
|
||||
public List<Map<String, Object>> findByHeadId(@Param("noRec") String noRec) throws JpaSystemException;
|
||||
|
||||
@Query("select tsd.skor " + "from TargetSkorDokterDetail tsd " + "inner join tsd.targetSkor ts "
|
||||
+ "where tsd.pegawaiId = :pegawaiId " + "and to_char(ts.tmt,'yyyy-MM') < :bulan " + "order by ts.tmt desc")
|
||||
public List<Double> findTargetByPegawai(@Param("pegawaiId") Integer idPegawai, @Param("bulan") String bulan)
|
||||
throws JpaSystemException;
|
||||
+ "where tsd.pegawaiId = :pegawaiId " + "and to_char(ts.tmt,'yyyy-MM') <= :bulan "
|
||||
+ "and to_char(ts.tmt,'yyyy') = :tahun " + "order by ts.tmt desc")
|
||||
public List<Double> findTargetByPegawai(@Param("pegawaiId") Integer idPegawai, @Param("bulan") String bulan,
|
||||
@Param("tahun") String tahun) throws JpaSystemException;
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user