Update logbookKinerjaDao
Perbaikan query pengecekan kontrak melibatkan data jabatan pegawai untuk update capaian saat verifikasi logbook skor kinerja
This commit is contained in:
parent
9f4f055df5
commit
681dcf49a8
@ -220,8 +220,10 @@ public interface LogbookKinerjaDao extends PagingAndSortingRepository<LogbookKin
|
|||||||
@Param("unitKerjaId") Integer idUnitKerja, @Param("subunitKerjaId") Integer idSubunitKerja,
|
@Param("unitKerjaId") Integer idUnitKerja, @Param("subunitKerjaId") Integer idSubunitKerja,
|
||||||
@Param("pegawaiId") Integer idPegawai);
|
@Param("pegawaiId") Integer idPegawai);
|
||||||
|
|
||||||
@Query("select new Map(lkt.noRec as noRec,lkt.jabatanId as jabatanId) " + "from LogbookKinerja lkt "
|
@Query("select new Map(lkt.noRec as noRec,lkt.jabatanId as jabatanId) "
|
||||||
+ "where to_char(lkt.bulan,'yyyy-MM') = :bulan " + "and lkt.pegawaiId = :pegawaiId "
|
+ "from LogbookKinerja lkt, MapPegawaiJabatanToUnitKerja mpj " + "where lkt.pegawaiId = mpj.pegawaiId "
|
||||||
|
+ "and lkt.jabatanId = mpj.jabatanId " + "and mpj.statusEnabled is true "
|
||||||
|
+ "and to_char(lkt.bulan,'yyyy-MM') = :bulan " + "and lkt.pegawaiId = :pegawaiId "
|
||||||
+ "and lkt.indikatorKinerjaId = :indikatorId " + "and lkt.statusEnabled is true "
|
+ "and lkt.indikatorKinerjaId = :indikatorId " + "and lkt.statusEnabled is true "
|
||||||
+ "and lkt.statusVerifikasi is true")
|
+ "and lkt.statusVerifikasi is true")
|
||||||
Map<String, Object> findKontrakByLogbook(@Param("bulan") String bulan, @Param("pegawaiId") Integer idPegawai,
|
Map<String, Object> findKontrakByLogbook(@Param("bulan") String bulan, @Param("pegawaiId") Integer idPegawai,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user