Update services asa anestesi

This commit is contained in:
salmanoersabhk 2022-08-31 14:14:00 +07:00
parent b0dacfd610
commit bf5b4455df
2 changed files with 3 additions and 3 deletions

View File

@ -177,7 +177,7 @@ public interface IkiDanRemunerasiDao extends PagingAndSortingRepository<IkiDanRe
@Param("karcisId") Integer idKarcis);
// Kinerja_jam_kerja_dokter
String kinerjaJamKerjaDokter = "select distinct new Map(ppp.ObjectJenisPetugasPeId as jenisPetugasId,coalesce(ppp.asaId,1) as asaId,"
String kinerjaJamKerjaDokter = "select distinct new Map(ppp.ObjectJenisPetugasPeId as jenisPetugasId,coalesce(ppp.asaId,2) as asaId,"
+ "pg.id as pegawaiId," + "pr.id as produkId,pr.namaProduk as namaProduk,"
+ "djp.id as detailJenisProdukId,"
+ "pp.noRec as noRec,pp.tglPelayanan as tglPelayanan,pp.jumlah as jumlah,coalesce(pp.hargaDiscount,0) as hargaDiskon,"
@ -230,7 +230,7 @@ public interface IkiDanRemunerasiDao extends PagingAndSortingRepository<IkiDanRe
@Param("karcisId") Integer idKarcis);
// Logbook_kinerja_luar_jam_kerja_dokter
@Query("select distinct new Map(ppp.ObjectJenisPetugasPeId as jenisPetugasId,coalesce(ppp.asaId,1) as asaId,"
@Query("select distinct new Map(ppp.ObjectJenisPetugasPeId as jenisPetugasId,coalesce(ppp.asaId,2) as asaId,"
+ "pr.id as produkId,pr.namaProduk as namaProduk,pg.id as pegawaiId,"
+ "pp.noRec as noRec,pp.tglPelayanan as tglPelayanan,pp.jumlah as jumlah,coalesce(pp.hargaDiscount,0) as hargaDiskon,"
+ "ru.departemenId as departemenId,ru.id as ruanganId," + "pd.diskonPegawai as statusDiskon) "

View File

@ -28,7 +28,7 @@ public interface PelayananPasienPetugasDao extends PagingAndSortingRepository<Pe
@Param("listPelayananId") List<String> listPelayananId);
@Query("select new Map(ppp.pelayananPasienId as pelayananId,ppp.ObjectJenisPetugasPeId as jenisPetugasId,"
+ "ppp.ObjectPegawaiId as petugasId,coalesce(ppp.asaId,1) as asaId,"
+ "ppp.ObjectPegawaiId as petugasId,coalesce(ppp.asaId,2) as asaId,"
+ "mj.subUnitKerjaPegawaiId as kkId,pp.produkId as produkId) "
+ "from PelayananPasienPetugas ppp, MapPegawaiJabatanToUnitKerja mj " + "inner join ppp.pelayananPasien pp "
+ "inner join mj.subUnitKerjaPegawai sk " + "where ppp.ObjectPegawaiId = mj.pegawaiId "