perbaikan data tampilan monitoring presensi visite dokter hanya SOAP, SOAPIE dihilangkan
This commit is contained in:
parent
80d79a6953
commit
bd3ad9bb2d
@ -17,10 +17,13 @@ import com.jasamedika.medifirst2000.entities.CatatanPerkembanganPasienTerintegra
|
|||||||
public interface CatatanPerkembanganPasienTerintegrasiDao
|
public interface CatatanPerkembanganPasienTerintegrasiDao
|
||||||
extends PagingAndSortingRepository<CatatanPerkembanganPasienTerintegrasi, String> {
|
extends PagingAndSortingRepository<CatatanPerkembanganPasienTerintegrasi, String> {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Daftar harian entri SOAP pertama oleh dokter di dalam CPPT
|
||||||
|
*/
|
||||||
@Query(nativeQuery = true, value = "select distinct on (cppt.pegawaifk,to_char(cppt.tglinput,'yyyy-MM-dd')) cppt.* "
|
@Query(nativeQuery = true, value = "select distinct on (cppt.pegawaifk,to_char(cppt.tglinput,'yyyy-MM-dd')) cppt.* "
|
||||||
+ "from (select cp.* from cppt_t cp "
|
+ "from (select cp.* from cppt_t cp "
|
||||||
+ "inner join antrianpasiendiperiksa_t apd on cp.noregistrasifk = apd.norec "
|
+ "inner join antrianpasiendiperiksa_t apd on cp.noregistrasifk = apd.norec "
|
||||||
+ "where cp.statusenabled is true " + "and cp.flag_ in (1,3) "
|
+ "where cp.statusenabled is true " + "and cp.flag_ = 1 "
|
||||||
+ "and to_char(cp.tglinput,'yyyy-MM-dd') between :startDate and :endDate "
|
+ "and to_char(cp.tglinput,'yyyy-MM-dd') between :startDate and :endDate "
|
||||||
+ "and cp.pegawaifk in (:listPegawaiId) " + "order by cp.pegawaifk, cp.tglinput) as cppt "
|
+ "and cp.pegawaifk in (:listPegawaiId) " + "order by cp.pegawaifk, cp.tglinput) as cppt "
|
||||||
+ "order by cppt.pegawaifk, to_char(cppt.tglinput,'yyyy-MM-dd')")
|
+ "order by cppt.pegawaifk, to_char(cppt.tglinput,'yyyy-MM-dd')")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user