Update PelayananPasienDao.java
Penerapan filter jenis produk barang farmasi
This commit is contained in:
parent
bd75a88420
commit
2bb7808be3
@ -222,7 +222,8 @@ public interface PelayananPasienDao extends PagingAndSortingRepository<Pelayanan
|
||||
+ "left join pr.detailJenisProduk djp "
|
||||
+ "where ppd.pelayananPasienId = pp.noRec and (ppp.statusEnabled is true or ppp.statusEnabled is null) "
|
||||
+ "and (pp.statusEnabled is true or pp.statusEnabled is null) "
|
||||
+ "and (pd.statusEnabled is true or pd.statusEnabled is null) " + "and ppp.ObjectPegawaiId = :pegawaiId "
|
||||
+ "and (pd.statusEnabled is true or pd.statusEnabled is null) "
|
||||
+ "and djp.jenisProdukId <> 97 " + "and ppp.ObjectPegawaiId = :pegawaiId "
|
||||
+ "and pp.tglPelayanan between :tglAwal and :tglAkhir " + "group by pr.id,pr.namaProduk,"
|
||||
+ "pr.detailJenisProdukId,pr.golonganProdukId," + "djp.jenisProdukId," + "pd.kelompokPasienId,"
|
||||
+ "case when pd.kelompokPasienId = 2 then 1 " + "when pd.kelompokPasienId = 4 then 2 "
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user