update coba log

This commit is contained in:
ridwan 2025-11-27 12:02:20 +07:00
parent 6499b925ed
commit 8460f2ab38

View File

@ -32,6 +32,7 @@ public class ReportingService {
} }
public JasperPrint exportPdfLabelGizi(String noregistrasi, String jnsdiet) { public JasperPrint exportPdfLabelGizi(String noregistrasi, String jnsdiet) {
log.info("Starting exportPdfLabelGizi with noregistrasi: {}, jnsdiet: {}", noregistrasi, jnsdiet);
if (Objects.equals(jnsdiet, "MAKANAN")) { if (Objects.equals(jnsdiet, "MAKANAN")) {
return this.reportingDao.exportPdfLabelGiziMakanan(noregistrasi, jnsdiet); return this.reportingDao.exportPdfLabelGiziMakanan(noregistrasi, jnsdiet);
} else { } else {
@ -40,68 +41,84 @@ public class ReportingService {
} }
public JasperPrint exportPdfLabelGizi(String noregistrasi) { public JasperPrint exportPdfLabelGizi(String noregistrasi) {
log.info("Starting exportPdfLabelGizi with noregistrasi: {}", noregistrasi);
return this.reportingDao.exportPdfLabelGizi(noregistrasi); return this.reportingDao.exportPdfLabelGizi(noregistrasi);
} }
public JasperPrint exportPdfPermintaanMakanan(Integer idRu, String tglAwal, String tglAkhir) { public JasperPrint exportPdfPermintaanMakanan(Integer idRu, String tglAwal, String tglAkhir) {
log.info("Starting exportPdfPermintaanMakanan with idRu: {}, tglAwal: {}, tglAkhir: {}", idRu, tglAwal, tglAkhir);
return this.reportingDao.exportPdfPermintaanMakanan(idRu, tglAwal, tglAkhir); return this.reportingDao.exportPdfPermintaanMakanan(idRu, tglAwal, tglAkhir);
} }
public JasperPrint exportPdfRekapMakanan(Integer idRu, String tglAwal, String tglAkhir) { public JasperPrint exportPdfRekapMakanan(Integer idRu, String tglAwal, String tglAkhir) {
log.info("Starting exportPdfRekapMakanan with idRu: {}, tglAwal: {}, tglAkhir: {}", idRu, tglAwal, tglAkhir);
return this.reportingDao.exportPdfRekapMakanan(idRu, tglAwal, tglAkhir); return this.reportingDao.exportPdfRekapMakanan(idRu, tglAwal, tglAkhir);
} }
public void printReport(JasperPrint jasperPrint, String selectedPrinter) throws JRException { public void printReport(JasperPrint jasperPrint, String selectedPrinter) throws JRException {
log.info("Starting printReport with selectedPrinter: {}", selectedPrinter);
this.reportingDao.printReport(jasperPrint, selectedPrinter); this.reportingDao.printReport(jasperPrint, selectedPrinter);
} }
public JasperPrint printReportKartuPasien(String nocm) { public JasperPrint printReportKartuPasien(String nocm) {
log.info("Starting printReportKartuPasien with nocm: {}", nocm);
return this.reportingDao.exportPdfKartuPasien(nocm); return this.reportingDao.exportPdfKartuPasien(nocm);
} }
public JasperPrint printReportLapBedah(String noregis) { public JasperPrint printReportLapBedah(String noregis) {
log.info("Starting printReportLapBedah with noregis: {}", noregis);
return this.reportingDao.exportPdfLapBedah(noregis); return this.reportingDao.exportPdfLapBedah(noregis);
} }
public JasperPrint printReportKonsul(String noregis) { public JasperPrint printReportKonsul(String noregis) {
log.info("Starting printReportKonsul with noregis: {}", noregis);
return this.reportingDao.exportPdfKonsul(noregis); return this.reportingDao.exportPdfKonsul(noregis);
} }
public JasperPrint printReportUpk(String nores) { public JasperPrint printReportUpk(String nores) {
log.info("Starting printReportUpk with nores: {}", nores);
return this.reportingDao.exportPdfUpk(nores); return this.reportingDao.exportPdfUpk(nores);
} }
public JasperPrint printReportVerifikasiTagihan(String noverifikasifk) { public JasperPrint printReportVerifikasiTagihan(String noverifikasifk) {
log.info("Starting printReportVerifikasiTagihan with noverifikasifk: {}", noverifikasifk);
return this.reportingDao.exportPdfVerifikasiTagihan(noverifikasifk); return this.reportingDao.exportPdfVerifikasiTagihan(noverifikasifk);
} }
public JasperPrint printPdfLapRekapHarianByDept(int deptId, String tglAwal, String tglAkhir) { public JasperPrint printPdfLapRekapHarianByDept(int deptId, String tglAwal, String tglAkhir) {
log.info("Starting printPdfLapRekapHarianByDept with deptId: {}, tglAwal: {}, tglAkhir: {}", deptId, tglAwal, tglAkhir);
return this.reportingDao.exportPdfLapRekapHarianByDept(deptId, tglAwal, tglAkhir); return this.reportingDao.exportPdfLapRekapHarianByDept(deptId, tglAwal, tglAkhir);
} }
public JasperPrint printPdfLapRekapHarianByRuanganId(int deptId, int ruangId, String tglAwal, String tglAkhir) { public JasperPrint printPdfLapRekapHarianByRuanganId(int deptId, int ruangId, String tglAwal, String tglAkhir) {
log.info("Starting printPdfLapRekapHarianByRuanganId with deptId: {}, ruangId: {}, tglAwal: {}, tglAkhir: {}", deptId, ruangId, tglAwal, tglAkhir);
return this.reportingDao.exportPdfLapRekapHarianByRuanganId(deptId, ruangId, tglAwal, tglAkhir); return this.reportingDao.exportPdfLapRekapHarianByRuanganId(deptId, ruangId, tglAwal, tglAkhir);
} }
public JasperPrint printPdfPengkajianAwalByNoRes(String nores) { public JasperPrint printPdfPengkajianAwalByNoRes(String nores) {
log.info("Starting printPdfPengkajianAwalByNoRes with nores: {}", nores);
return this.reportingDao.exportPdfPengkajianAwalByNoRes(nores); return this.reportingDao.exportPdfPengkajianAwalByNoRes(nores);
} }
public JasperPrint printPdfRekapPenjamin(String tglAwal, String tglAkhir, int idDept, int kelompokPasien) { public JasperPrint printPdfRekapPenjamin(String tglAwal, String tglAkhir, int idDept, int kelompokPasien) {
log.info("Starting printPdfRekapPenjamin with tglAwal: {}, tglAkhir: {}, idDept: {}, kelompokPasien: {}", tglAwal, tglAkhir, idDept, kelompokPasien);
return this.reportingDao.exportPdfRekapPenjamin(tglAwal, tglAkhir, idDept, kelompokPasien); return this.reportingDao.exportPdfRekapPenjamin(tglAwal, tglAkhir, idDept, kelompokPasien);
} }
public JasperPrint printPdfRekapPenjaminByInstitusiPasien( public JasperPrint printPdfRekapPenjaminByInstitusiPasien(
String tglAwal, String tglAkhir, int idDept, int kelompokPasien, int institusiPasien) { String tglAwal, String tglAkhir, int idDept, int kelompokPasien, int institusiPasien) {
log.info("Starting printPdfRekapPenjaminByInstitusiPasien with tglAwal: {}, tglAkhir: {}, idDept: {}, kelompokPasien: {}, institusiPasien: {}", tglAwal, tglAkhir, idDept, kelompokPasien, institusiPasien);
return this.reportingDao return this.reportingDao
.exportPdfRekapPenjaminByInstitusiPasien(tglAwal, tglAkhir, idDept, kelompokPasien, institusiPasien); .exportPdfRekapPenjaminByInstitusiPasien(tglAwal, tglAkhir, idDept, kelompokPasien, institusiPasien);
} }
public JasperPrint printPdfRekapPenjaminByRanap(String tglAwal, String tglAkhir, int idDept, int kelompokPasien) { public JasperPrint printPdfRekapPenjaminByRanap(String tglAwal, String tglAkhir, int idDept, int kelompokPasien) {
log.info("Starting printPdfRekapPenjaminByRanap with tglAwal: {}, tglAkhir: {}, idDept: {}, kelompokPasien: {}", tglAwal, tglAkhir, idDept, kelompokPasien);
return this.reportingDao.exportPdfRekapPenjaminByRanap(tglAwal, tglAkhir, idDept, kelompokPasien); return this.reportingDao.exportPdfRekapPenjaminByRanap(tglAwal, tglAkhir, idDept, kelompokPasien);
} }
public JasperPrint printPdfPermintaanMakanan(int idRu, String tglAwal, String tglAkhir, String jenisDiet, String tglLayanan) { public JasperPrint printPdfPermintaanMakanan(int idRu, String tglAwal, String tglAkhir, String jenisDiet, String tglLayanan) {
log.info("Starting printPdfPermintaanMakanan with idRu: {}, tglAwal: {}, tglAkhir: {}, jenisDiet: {}, tglLayanan: {}", idRu, tglAwal, tglAkhir, jenisDiet, tglLayanan);
if (Objects.equals(jenisDiet, "MINUMAN")) { if (Objects.equals(jenisDiet, "MINUMAN")) {
return this.reportingDao.exportPdfPermintaanMinuman(idRu, tglAwal, tglAkhir, jenisDiet, tglLayanan); return this.reportingDao.exportPdfPermintaanMinuman(idRu, tglAwal, tglAkhir, jenisDiet, tglLayanan);
} else { } else {
@ -110,26 +127,32 @@ public class ReportingService {
} }
public JasperPrint printPdfRekapMakanan(int idRu, String tglAwal, String tglAkhir) { public JasperPrint printPdfRekapMakanan(int idRu, String tglAwal, String tglAkhir) {
log.info("Starting printPdfRekapMakanan with idRu: {}, tglAwal: {}, tglAkhir: {}", idRu, tglAwal, tglAkhir);
return this.reportingDao.exportPdfRekapMakanan(idRu, tglAwal, tglAkhir); return this.reportingDao.exportPdfRekapMakanan(idRu, tglAwal, tglAkhir);
} }
public JasperPrint exportPdfGelangPasien(String noregistrasi) { public JasperPrint exportPdfGelangPasien(String noregistrasi) {
log.info("Starting exportPdfGelangPasien with noregistrasi: {}", noregistrasi);
return this.reportingDao.exportPdfGelangPasien(noregistrasi); return this.reportingDao.exportPdfGelangPasien(noregistrasi);
} }
public JasperPrint exportPdfLabelPaket(String norecVoucher) { public JasperPrint exportPdfLabelPaket(String norecVoucher) {
log.info("Starting exportPdfLabelPaket with norecVoucher: {}", norecVoucher);
return this.reportingDao.exportPdfLabelPaket(norecVoucher); return this.reportingDao.exportPdfLabelPaket(norecVoucher);
} }
public JasperPrint exportPdfResumeMedis(String norec) { public JasperPrint exportPdfResumeMedis(String norec) {
log.info("Starting exportPdfResumeMedis with norec: {}", norec);
return this.reportingDao.exportPdfResumeMedis(norec); return this.reportingDao.exportPdfResumeMedis(norec);
} }
public JasperPrint exportPdfSummaryList(String nocm) { public JasperPrint exportPdfSummaryList(String nocm) {
log.info("Starting exportPdfSummaryList with nocm: {}", nocm);
return this.reportingDao.exportPdfSummaryList(nocm); return this.reportingDao.exportPdfSummaryList(nocm);
} }
public JasperPrint printPdfAmprahanTindakan(int idRu, String tglAwal, String tglAkhir) { public JasperPrint printPdfAmprahanTindakan(int idRu, String tglAwal, String tglAkhir) {
log.info("Starting printPdfAmprahanTindakan with idRu: {}, tglAwal: {}, tglAkhir: {}", idRu, tglAwal, tglAkhir);
try { try {
SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd"); SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
Date parse = formatter.parse(tglAwal); Date parse = formatter.parse(tglAwal);
@ -143,6 +166,7 @@ public class ReportingService {
} }
public JasperPrint exportPdfKwitansi(String noregistrasi, String jeniskwitansi, String nama_pt, String kasir) { public JasperPrint exportPdfKwitansi(String noregistrasi, String jeniskwitansi, String nama_pt, String kasir) {
log.info("Starting exportPdfKwitansi with noregistrasi: {}, jeniskwitansi: {}, nama_pt: {}, kasir: {}", noregistrasi, jeniskwitansi, nama_pt, kasir);
if (Objects.equals(jeniskwitansi, "DEPOSIT")){ if (Objects.equals(jeniskwitansi, "DEPOSIT")){
return this.reportingDao.exportPdfKwidipo(noregistrasi, kasir); return this.reportingDao.exportPdfKwidipo(noregistrasi, kasir);
} else if (Objects.equals(jeniskwitansi, "NONLAYANAN")){ } else if (Objects.equals(jeniskwitansi, "NONLAYANAN")){
@ -165,10 +189,12 @@ public class ReportingService {
} }
public JasperPrint exportPdfMonitoringUsulan(String norec) { public JasperPrint exportPdfMonitoringUsulan(String norec) {
log.info("Starting exportPdfMonitoringUsulan with norec: {}", norec);
return this.reportingDao.exportPdfMonitoringUsulan(norec); return this.reportingDao.exportPdfMonitoringUsulan(norec);
} }
public JasperPrint exportPdfSppb(String norec, String jnsbrg) { public JasperPrint exportPdfSppb(String norec, String jnsbrg) {
log.info("Starting exportPdfSppb with norec: {}, jnsbrg: {}", norec, jnsbrg);
if (Objects.equals(jnsbrg, "BMHP/Obat-obatan/Reagen")) { if (Objects.equals(jnsbrg, "BMHP/Obat-obatan/Reagen")) {
return this.reportingDao.exportPdfSPPBApotik(norec, jnsbrg); return this.reportingDao.exportPdfSPPBApotik(norec, jnsbrg);
} else { } else {
@ -177,66 +203,57 @@ public class ReportingService {
} }
public JasperPrint exportPdfBuktiLayanan(String norec, String user) { public JasperPrint exportPdfBuktiLayanan(String norec, String user) {
return this.reportingDao.exportPdfBuktiLayanan(norec, user); log.info("Starting exportPdfBuktiLayanan with norec: {}, user: {}", norec, user);
return this.reportingDao.exportPdfBuktiLayanan(norec, user);
} }
public JasperPrint exportPdfBuktiNoLayanFarmasi(String norec) { public JasperPrint exportPdfBuktiNoLayanFarmasi(String norec) {
log.info("Starting exportPdfBuktiNoLayanFarmasi with norec: {}", norec);
return this.reportingDao.exportPdfBuktiNoLayanFarmasi(norec); return this.reportingDao.exportPdfBuktiNoLayanFarmasi(norec);
} }
public JasperPrint exportPdfLabelFarmasi(String norec) { public JasperPrint exportPdfLabelFarmasi(String norec) {
log.info("Starting exportPdfLabelFarmasi with norec: {}", norec);
return this.reportingDao.exportPdfLabelFarmasi(norec); return this.reportingDao.exportPdfLabelFarmasi(norec);
} }
public JasperPrint printPdfLaporanTindakan(Integer ruanganid, Integer instalasiid, Integer kelasid, Integer unitid, Integer produkid, Integer statusprodukid) { public JasperPrint printPdfLaporanTindakan(Integer ruanganid, Integer instalasiid, Integer kelasid, Integer unitid, Integer produkid, Integer statusprodukid) {
log.info("Starting printPdfLaporanTindakan with ruanganid: {}, instalasiid: {}, kelasid: {}, unitid: {}, produkid: {}, statusprodukid: {}", ruanganid, instalasiid, kelasid, unitid, produkid, statusprodukid);
return this.reportingDao.exportPdfLaporanTindakan(ruanganid, instalasiid, kelasid, unitid, produkid, statusprodukid); return this.reportingDao.exportPdfLaporanTindakan(ruanganid, instalasiid, kelasid, unitid, produkid, statusprodukid);
} }
public JasperPrint exportPdfDKamar() { public JasperPrint exportPdfDKamar() {
log.info("Starting exportPdfDKamar");
return this.reportingDao.exportPdfDKamar(); return this.reportingDao.exportPdfDKamar();
} }
public JasperPrint exportPdfLabelFarmasiNo(String norec) { public JasperPrint exportPdfLabelFarmasiNo(String norec) {
log.info("Starting exportPdfLabelFarmasiNo with norec: {}", norec);
return this.reportingDao.exportPdfLabelFarmasiNo(norec); return this.reportingDao.exportPdfLabelFarmasiNo(norec);
} }
public JasperPrint exportPdfUsulanPermintaanBdJ(String norec) { public JasperPrint exportPdfUsulanPermintaanBdJ(String norec) {
log.info("Starting exportPdfUsulanPermintaanBdJ with norec: {}", norec);
return this.reportingDao.exportPdfUsulanPermintaanBdJ(norec); return this.reportingDao.exportPdfUsulanPermintaanBdJ(norec);
} }
public JasperPrint exportPdfTriaseIGD(String norec) { public JasperPrint exportPdfTriaseIGD(String norec) {
log.info("Starting exportPdfTriaseIGD with norec: {}", norec);
return this.reportingDao.exportPdfTriaseIGD(norec); return this.reportingDao.exportPdfTriaseIGD(norec);
} }
public JasperPrint exportPdfDaftarTriaseIGD(String norec) { public JasperPrint exportPdfDaftarTriaseIGD(String norec) {
log.info("Starting exportPdfDaftarTriaseIGD with norec: {}", norec);
return this.reportingDao.exportPdfDaftarTriaseIGD(norec); return this.reportingDao.exportPdfDaftarTriaseIGD(norec);
} }
public JasperPrint exportPdfLapPenerimaanKasir(String tglAwal, String tglAkhir, Integer idDokter, Integer idRuangan, Integer idKasir, Integer kelompokPasien) { public JasperPrint exportPdfLapPenerimaanKasir(String tglAwal, String tglAkhir, Integer idDokter, Integer idRuangan, Integer idKasir, Integer kelompokPasien) {
log.info("Starting exportPdfLapPenerimaanKasir with tglAwal: {}, tglAkhir: {}, idDokter: {}, idRuangan: {}, idKasir: {}, kelompokPasien: {}", tglAwal, tglAkhir, idDokter, idRuangan, idKasir, kelompokPasien);
return this.reportingDao.exportPdfLapPenerimaanKasir(tglAwal, tglAkhir, idDokter, idRuangan, idKasir, kelompokPasien); return this.reportingDao.exportPdfLapPenerimaanKasir(tglAwal, tglAkhir, idDokter, idRuangan, idKasir, kelompokPasien);
} }
/* public JasperPrint exportPdfLapPenerimaanKasir(String tglAwal, String tglAkhir, Integer idDokter, Integer idRuangan, Integer idKasir, Integer kelompokPasien) {
try {
SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
Date parse = formatter.parse(tglAwal);
Date parse2 = formatter.parse(tglAkhir);
return this.reportingDao.exportPdfLapPenerimaanKasir(parse, parse2, idDokter, idRuangan, idKasir, kelompokPasien);
} catch (ParseException e) {
log.error(e.getMessage());
return null;
}
}*/
// //spk_awal
// public JasperPrint exportPdfSKPULP(String norec){
// return this.reportingDao.exportPdfSKPULP(norec);
// }
public JasperPrint exportPdfSKPULP(String norec, String jnsbrg) { public JasperPrint exportPdfSKPULP(String norec, String jnsbrg) {
// System.out.print(norec); log.info("Starting exportPdfSKPULP with norec: {}, jnsbrg: {}", norec, jnsbrg);
// System.out.print(jnsbrg);
if (Objects.equals(jnsbrg, "BMHP/Obat-obatan/Reagen")){ if (Objects.equals(jnsbrg, "BMHP/Obat-obatan/Reagen")){
return this.reportingDao.exportPdfSkpUlpUpdateFarmasiDong(norec, jnsbrg); return this.reportingDao.exportPdfSkpUlpUpdateFarmasiDong(norec, jnsbrg);
} else { } else {
@ -245,22 +262,27 @@ public class ReportingService {
} }
public JasperPrint exportPdfBuktiOrderBarang(String norec, String pegawaiMengetahui, String pegawaiMeminta, String nipMengetahui, String nipMeminta, String jabatanMengetahui, String jabatanMeminta, String user) { public JasperPrint exportPdfBuktiOrderBarang(String norec, String pegawaiMengetahui, String pegawaiMeminta, String nipMengetahui, String nipMeminta, String jabatanMengetahui, String jabatanMeminta, String user) {
log.info("Starting exportPdfBuktiOrderBarang with norec: {}, pegawaiMengetahui: {}, pegawaiMeminta: {}, nipMengetahui: {}, nipMeminta: {}, jabatanMengetahui: {}, jabatanMeminta: {}, user: {}", norec, pegawaiMengetahui, pegawaiMeminta, nipMengetahui, nipMeminta, jabatanMengetahui, jabatanMeminta, user);
return this.reportingDao.exportPdfBuktiOrderBarang(norec, pegawaiMengetahui, pegawaiMeminta, nipMengetahui, nipMeminta, jabatanMengetahui, jabatanMeminta, user); return this.reportingDao.exportPdfBuktiOrderBarang(norec, pegawaiMengetahui, pegawaiMeminta, nipMengetahui, nipMeminta, jabatanMengetahui, jabatanMeminta, user);
} }
public JasperPrint exportPdfTagihanPiutang(String noposting, String PrintBy) { public JasperPrint exportPdfTagihanPiutang(String noposting, String PrintBy) {
log.info("Starting exportPdfTagihanPiutang with noposting: {}, PrintBy: {}", noposting, PrintBy);
return this.reportingDao.exportPdfTagihanPiutang(noposting, PrintBy); return this.reportingDao.exportPdfTagihanPiutang(noposting, PrintBy);
} }
public JasperPrint exportPdfSuratCollectingPiutang(String noposting) { public JasperPrint exportPdfSuratCollectingPiutang(String noposting) {
log.info("Starting exportPdfSuratCollectingPiutang with noposting: {}", noposting);
return this.reportingDao.exportPdfSuratCollectingPiutang(noposting); return this.reportingDao.exportPdfSuratCollectingPiutang(noposting);
} }
public JasperPrint exportPdfKwitansiCollectingPiutang(String noposting, String PrintBy) { public JasperPrint exportPdfKwitansiCollectingPiutang(String noposting, String PrintBy) {
log.info("Starting exportPdfKwitansiCollectingPiutang with noposting: {}, PrintBy: {}",noposting, PrintBy);
return this.reportingDao.exportPdfKwitansiCollectingPiutang(noposting, PrintBy); return this.reportingDao.exportPdfKwitansiCollectingPiutang(noposting, PrintBy);
} }
public JasperPrint exportPdfLapCetakPulang(String tglAwal, String tglAkhir, Integer IdDepartement, Integer IdRuangan, Integer IdRekanan) { public JasperPrint exportPdfLapCetakPulang(String tglAwal, String tglAkhir, Integer IdDepartement, Integer IdRuangan, Integer IdRekanan) {
log.info("Starting exportPdfLapCetakPulang with tglAwal: {}, tglAkhir: {}, IdDepartement: {}, IdRuangan: {}, IdRekanan: {}", tglAwal, tglAkhir, IdDepartement, IdRuangan, IdRekanan);
try { try {
SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd"); SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
Date parse = formatter.parse(tglAwal); Date parse = formatter.parse(tglAwal);
@ -275,125 +297,101 @@ public class ReportingService {
public JasperPrint exportPdfdaftarPenerimaBarangFarmasi(String norec, Integer idMenyerahkan, Integer idMengetahui, Integer idMenerima, String jabatanMenyerahkan, String jabatanMengetahui, public JasperPrint exportPdfdaftarPenerimaBarangFarmasi(String norec, Integer idMenyerahkan, Integer idMengetahui, Integer idMenerima, String jabatanMenyerahkan, String jabatanMengetahui,
String jabatanMenerima, String printBy){ String jabatanMenerima, String printBy){
log.info("Starting exportPdfdaftarPenerimaBarangFarmasi with norec: {}, idMenyerahkan: {}, idMengetahui: {}, idMenerima: {}, jabatanMenyerahkan: {}, jabatanMengetahui: {}, jabatanMenerima: {}, printBy: {}", norec, idMenyerahkan, idMengetahui, idMenerima, jabatanMenyerahkan, jabatanMengetahui, jabatanMenerima, printBy);
return this.reportingDao.exportPdfdaftarPenerimaBarangFarmasi(norec, idMenyerahkan, idMengetahui, idMenerima, jabatanMenyerahkan, jabatanMengetahui, jabatanMenerima, printBy); return this.reportingDao.exportPdfdaftarPenerimaBarangFarmasi(norec, idMenyerahkan, idMengetahui, idMenerima, jabatanMenyerahkan, jabatanMengetahui, jabatanMenerima, printBy);
} }
public JasperPrint exportPdfBuktiPengeluaranBarang(String norec, Integer idMenyerahkan, Integer idMengetahui, Integer idMenerima, String jabatanMenyerahkan, String jabatanMengetahui, public JasperPrint exportPdfBuktiPengeluaranBarang(String norec, Integer idMenyerahkan, Integer idMengetahui, Integer idMenerima, String jabatanMenyerahkan, String jabatanMengetahui,
String jabatanMenerima, String printBy){ String jabatanMenerima, String printBy){
log.info("Starting exportPdfBuktiPengeluaranBarang with norec: {}, idMenyerahkan: {}, idMengetahui: {}, idMenerima: {}, jabatanMenyerahkan: {}, jabatanMengetahui: {}, jabatanMenerima: {}, printBy: {}", norec, idMenyerahkan, idMengetahui, idMenerima, jabatanMenyerahkan, jabatanMengetahui, jabatanMenerima, printBy);
return this.reportingDao.exportPdfBuktiPengeluaranBarang(norec, idMenyerahkan, idMengetahui, idMenerima, jabatanMenyerahkan, jabatanMengetahui, jabatanMenerima, printBy); return this.reportingDao.exportPdfBuktiPengeluaranBarang(norec, idMenyerahkan, idMengetahui, idMenerima, jabatanMenyerahkan, jabatanMengetahui, jabatanMenerima, printBy);
} }
public JasperPrint exportPdfKartuPasienPulang(String noregistrasi, String printBy) { public JasperPrint exportPdfKartuPasienPulang(String noregistrasi, String printBy) {
log.info("Starting exportPdfKartuPasienPulang with noregistrasi: {}, printBy: {}", noregistrasi, printBy);
return this.reportingDao.exportPdfKartuPasienPulang(noregistrasi, printBy); return this.reportingDao.exportPdfKartuPasienPulang(noregistrasi, printBy);
} }
public JasperPrint exportPdfResumeeMedis(String norec, String nocm) { public JasperPrint exportPdfResumeeMedis(String norec, String nocm) {
log.info("Starting exportPdfResumeeMedis with norec: {}, nocm: {}", norec, nocm);
return this.reportingDao.exportPdfResumeeMedis(norec, nocm); return this.reportingDao.exportPdfResumeeMedis(norec, nocm);
} }
public JasperPrint exportPdfBuktiPenerimaanBarangFarmasi(String norec, Integer idMenyerahkan, Integer idMengetahui, Integer idMenerima, String jabatanMenyerahkan, String jabatanMengetahui, public JasperPrint exportPdfBuktiPenerimaanBarangFarmasi(String norec, Integer idMenyerahkan, Integer idMengetahui, Integer idMenerima, String jabatanMenyerahkan, String jabatanMengetahui,
String jabatanMenerima, String printBy){ String jabatanMenerima, String printBy){
log.info("Starting exportPdfBuktiPenerimaanBarangFarmasi with norec: {}, idMenyerahkan: {}, idMengetahui: {}, idMenerima: {}, jabatanMenyerahkan: {}, jabatanMengetahui: {}, jabatanMenerima: {}, printBy: {}", norec, idMenyerahkan, idMengetahui, idMenerima, jabatanMenyerahkan, jabatanMengetahui, jabatanMenerima, printBy);
return this.reportingDao.exportPdfBuktiPenerimaanBarangFarmasi(norec, idMenyerahkan, idMengetahui, idMenerima, jabatanMenyerahkan, jabatanMengetahui, jabatanMenerima, printBy); return this.reportingDao.exportPdfBuktiPenerimaanBarangFarmasi(norec, idMenyerahkan, idMengetahui, idMenerima, jabatanMenyerahkan, jabatanMengetahui, jabatanMenerima, printBy);
} }
public JasperPrint exportPdfBuktiLayananPenunjang(String norec, String printBy) { public JasperPrint exportPdfBuktiLayananPenunjang(String norec, String printBy) {
log.info("Starting exportPdfBuktiLayananPenunjang with norec: {}, printBy: {}", norec, printBy);
return this.reportingDao.exportPdfBuktiLayananPenunjang(norec, printBy); return this.reportingDao.exportPdfBuktiLayananPenunjang(norec, printBy);
} }
public JasperPrint exportPdfSuratCollectingPiutangRanap(String norec) { public JasperPrint exportPdfSuratCollectingPiutangRanap(String norec) {
log.info("Starting exportPdfSuratCollectingPiutangRanap with norec: {}", norec);
return this.reportingDao.exportPdfSuratCollectingPiutangRanap(norec); return this.reportingDao.exportPdfSuratCollectingPiutangRanap(norec);
} }
public JasperPrint exportPdfBuktiPenerimaanBarangExpired(String norec, Integer idMenyerahkan, Integer idMengetahui, Integer idMenerima, String jabatanMenyerahkan, String jabatanMengetahui, public JasperPrint exportPdfBuktiPenerimaanBarangExpired(String norec, Integer idMenyerahkan, Integer idMengetahui, Integer idMenerima, String jabatanMenyerahkan, String jabatanMengetahui,
String jabatanMenerima, String printBy){ String jabatanMenerima, String printBy){
log.info("Starting exportPdfBuktiPenerimaanBarangExpired with norec: {}, idMenyerahkan: {}, idMengetahui: {}, idMenerima: {}, jabatanMenyerahkan: {}, jabatanMengetahui: {}, jabatanMenerima: {}, printBy: {}", norec, idMenyerahkan, idMengetahui, idMenerima, jabatanMenyerahkan, jabatanMengetahui, jabatanMenerima, printBy);
return this.reportingDao.exportPdfBuktiPenerimaanBarangExpired(norec, idMenyerahkan, idMengetahui, idMenerima, jabatanMenyerahkan, jabatanMengetahui, jabatanMenerima, printBy); return this.reportingDao.exportPdfBuktiPenerimaanBarangExpired(norec, idMenyerahkan, idMengetahui, idMenerima, jabatanMenyerahkan, jabatanMengetahui, jabatanMenerima, printBy);
} }
//Klinik Utama Bintaro //Klinik Utama Bintaro
public JasperPrint exportPdfBuktiLayananBintaro(String norec, String user) { public JasperPrint exportPdfBuktiLayananBintaro(String norec, String user) {
log.info("Starting exportPdfBuktiLayananBintaro with norec: {}, user: {}", norec, user);
return this.reportingDao.exportPdfBuktiLayananBintaro(norec, user); return this.reportingDao.exportPdfBuktiLayananBintaro(norec, user);
} }
public JasperPrint exportPdfBuktiNoLayanFarmasiBintaro(String norec) { public JasperPrint exportPdfBuktiNoLayanFarmasiBintaro(String norec) {
log.info("Starting exportPdfBuktiNoLayanFarmasiBintaro with norec: {}", norec);
return this.reportingDao.exportPdfBuktiNoLayanFarmasiBintaro(norec); return this.reportingDao.exportPdfBuktiNoLayanFarmasiBintaro(norec);
} }
public JasperPrint exportPdfLabelNoLayanFarmasiBintaro(String norec) { public JasperPrint exportPdfLabelNoLayanFarmasiBintaro(String norec) {
log.info("Starting exportPdfLabelNoLayanFarmasiBintaro with norec: {}", norec);
return this.reportingDao.exportPdfLabelNoLayanFarmasiBintaro(norec); return this.reportingDao.exportPdfLabelNoLayanFarmasiBintaro(norec);
} }
public JasperPrint exportPdfLabelFarmasiBintaro(String norec) { public JasperPrint exportPdfLabelFarmasiBintaro(String norec) {
log.info("Starting exportPdfLabelFarmasiBintaro with norec: {}", norec);
return this.reportingDao.exportPdfLabelFarmasiBintaro(norec); return this.reportingDao.exportPdfLabelFarmasiBintaro(norec);
} }
//sim2 //sim2
public JasperPrint exportPdfLabelKetring(List<Integer> noorder) { public JasperPrint exportPdfLabelKetring(List<Integer> noorder) {
log.info("Starting exportPdfLabelKetring with noorder: {}", noorder);
return this.reportingDao.exportPdfLabelKetring(noorder); return this.reportingDao.exportPdfLabelKetring(noorder);
} }
// Export Excel // Export Excel
/* public JasperPrint exportVisit(String tglAwal, String tglAkhir, Integer idDokter, Integer idRuangan, String printBy) { public JasperPrint exportVisit(String tglAwal, String tglAkhir, Integer idDokter, Integer idRuangan, String printBy) {
try { log.info("Starting exportVisit with tglAwal: {}, tglAkhir: {}, idDokter: {}, idRuangan: {}, printBy: {}", tglAwal, tglAkhir, idDokter, idRuangan, printBy);
SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
Date parse = formatter.parse(tglAwal);
Date parse2 = formatter.parse(tglAkhir);
return this.reportingDao.exportVisit(parse, parse2, idDokter, idRuangan, printBy);
} catch (ParseException e) {
log.error(e.getMessage());
return null;
}
}
public JasperPrint exportWaktuRawatJalan(String tglAwal, String tglAkhir, Integer idDokter, Integer idRuangan, String printBy) {
try {
SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
Date parse = formatter.parse(tglAwal);
Date parse2 = formatter.parse(tglAkhir);
return this.reportingDao.exportWaktuRawatJalan(parse, parse2, idDokter, idRuangan, printBy);
} catch (ParseException e) {
log.error(e.getMessage());
return null;
}
}
public JasperPrint exportKunjunganPasien(String tglAwal, String tglAkhir, Integer idDokter, Integer idRuangan, String printBy) {
try {
SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
Date parse = formatter.parse(tglAwal);
Date parse2 = formatter.parse(tglAkhir);
return this.reportingDao.exportKunjunganPasien(parse, parse2, idInstalasi, idUnit, idRuangan, printBy);
} catch (ParseException e) {
log.error(e.getMessage());
return null;
}
}*/
public JasperPrint exportVisit(String tglAwal, String tglAkhir, Integer idDokter, Integer idRuangan, String printBy) {
return this.reportingDao.exportVisit(tglAwal, tglAkhir, idDokter, idRuangan, printBy); return this.reportingDao.exportVisit(tglAwal, tglAkhir, idDokter, idRuangan, printBy);
} }
public JasperPrint exportWaktuRawatJalan(String tglAwal, String tglAkhir, Integer idDokter, Integer idRuangan, String printBy) { public JasperPrint exportWaktuRawatJalan(String tglAwal, String tglAkhir, Integer idDokter, Integer idRuangan, String printBy) {
log.info("Starting exportWaktuRawatJalan with tglAwal: {}, tglAkhir: {}, idDokter: {}, idRuangan: {}, printBy: {}", tglAwal, tglAkhir, idDokter, idRuangan, printBy);
return this.reportingDao.exportWaktuRawatJalan(tglAwal, tglAkhir, idDokter, idRuangan, printBy); return this.reportingDao.exportWaktuRawatJalan(tglAwal, tglAkhir, idDokter, idRuangan, printBy);
} }
public JasperPrint exportWaktuRawatJalanTRB(String tglAwal, String tglAkhir, Integer idDokter, Integer idRuangan, String printBy) { public JasperPrint exportWaktuRawatJalanTRB(String tglAwal, String tglAkhir, Integer idDokter, Integer idRuangan, String printBy) {
log.info("Starting exportWaktuRawatJalanTRB with tglAwal: {}, tglAkhir: {}, idDokter: {}, idRuangan: {}, printBy: {}", tglAwal, tglAkhir, idDokter, idRuangan, printBy);
return this.reportingDao.exportWaktuRawatJalanTRB(tglAwal, tglAkhir, idDokter, idRuangan, printBy); return this.reportingDao.exportWaktuRawatJalanTRB(tglAwal, tglAkhir, idDokter, idRuangan, printBy);
} }
public JasperPrint exportKunjunganPasien(String tglAwal, String tglAkhir, Integer idInstalasi, Integer idUnit, Integer idRuangan, String printBy) { public JasperPrint exportKunjunganPasien(String tglAwal, String tglAkhir, Integer idInstalasi, Integer idUnit, Integer idRuangan, String printBy) {
return this.reportingDao.exportKunjunganPasien(tglAwal, tglAkhir,idInstalasi, idUnit, idRuangan, printBy); log.info("Starting exportKunjunganPasien with tglAwal: {}, tglAkhir: {}, idInstalasi: {}, idUnit: {}, idRuangan: {}, printBy: {}", tglAwal, tglAkhir, idInstalasi, idUnit, idRuangan, printBy);
return this.reportingDao.exportKunjunganPasien(tglAwal, tglAkhir, idInstalasi, idUnit, idRuangan, printBy);
} }
public JasperPrint exportLpPendaftaranOnline(String tglAwal, String tglAkhir, Integer idUnit, Integer idRuangan, String printBy) { public JasperPrint exportLpPendaftaranOnline(String tglAwal, String tglAkhir, Integer idUnit, Integer idRuangan, String printBy) {
log.info("Starting exportLpPendaftaranOnline with tglAwal: {}, tglAkhir: {}, idUnit: {}, idRuangan: {}, printBy: {}", tglAwal, tglAkhir, idUnit, idRuangan, printBy);
try { try {
SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd"); SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
Date parse = formatter.parse(tglAwal); Date parse = formatter.parse(tglAwal);
@ -407,21 +405,27 @@ public class ReportingService {
} }
public JasperPrint exportLpVolumeTindakan(String tglAwal, String tglAkhir, Integer idInstalasi, Integer idUnit, Integer idRuangan, Integer idProduk, Integer idPegawai, Integer idKp, String printBy) { public JasperPrint exportLpVolumeTindakan(String tglAwal, String tglAkhir, Integer idInstalasi, Integer idUnit, Integer idRuangan, Integer idProduk, Integer idPegawai, Integer idKp, String printBy) {
log.info("Starting exportLpVolumeTindakan with tglAwal: {}, tglAkhir: {}, idInstalasi: {}, idUnit: {}, idRuangan: {}, idProduk: {}, idPegawai: {}, idKp: {}, printBy: {}", tglAwal, tglAkhir, idInstalasi, idUnit, idRuangan, idProduk, idPegawai, idKp, printBy);
return this.reportingDao.exportLpVolumeTindakan(tglAwal, tglAkhir, idInstalasi, idUnit, idRuangan, idProduk, idPegawai, idKp, printBy); return this.reportingDao.exportLpVolumeTindakan(tglAwal, tglAkhir, idInstalasi, idUnit, idRuangan, idProduk, idPegawai, idKp, printBy);
} }
public JasperPrint exportLpResumeMedis(String tglAwal, String tglAkhir, Integer idInstalasi, Integer idUnit, Integer idRuangan, Integer idPegawai, String printBy) { public JasperPrint exportLpResumeMedis(String tglAwal, String tglAkhir, Integer idInstalasi, Integer idUnit, Integer idRuangan, Integer idPegawai, String printBy) {
log.info("Starting exportLpResumeMedis with tglAwal: {}, tglAkhir: {}, idInstalasi: {}, idUnit: {}, idRuangan: {}, idPegawai: {}, printBy: {}", tglAwal, tglAkhir, idInstalasi, idUnit, idRuangan, idPegawai, printBy);
return this.reportingDao.exportLpResumeMedis(tglAwal, tglAkhir, idInstalasi, idUnit, idRuangan, idPegawai, printBy); return this.reportingDao.exportLpResumeMedis(tglAwal, tglAkhir, idInstalasi, idUnit, idRuangan, idPegawai, printBy);
} }
public JasperPrint exportLpSatuSehat(String tglAwal, String tglAkhir, Integer idInstalasi, Integer idUnit, Integer idRuangan, Integer idPegawai, String printBy) { public JasperPrint exportLpSatuSehat(String tglAwal, String tglAkhir, Integer idInstalasi, Integer idUnit, Integer idRuangan, Integer idPegawai, String printBy) {
log.info("Starting exportLpSatuSehat with tglAwal: {}, tglAkhir: {}, idInstalasi: {}, idUnit: {}, idRuangan: {}, idPegawai: {}, printBy: {}", tglAwal, tglAkhir, idInstalasi, idUnit, idRuangan, idPegawai, printBy);
return this.reportingDao.exportLpSatuSehat(tglAwal, tglAkhir, idInstalasi, idUnit, idRuangan, idPegawai, printBy); return this.reportingDao.exportLpSatuSehat(tglAwal, tglAkhir, idInstalasi, idUnit, idRuangan, idPegawai, printBy);
} }
public JasperPrint exportLpTarif(Integer idInstalasi, Integer idProduk, Integer idTarif, String printBy) { public JasperPrint exportLpTarif(Integer idInstalasi, Integer idProduk, Integer idTarif, String printBy) {
log.info("Starting exportLpTarif with idInstalasi: {}, idProduk: {}, idTarif: {}, printBy: {}", idInstalasi, idProduk, idTarif, printBy);
return this.reportingDao.exportLpTarif(idInstalasi, idProduk, idTarif, printBy); return this.reportingDao.exportLpTarif(idInstalasi, idProduk, idTarif, printBy);
} }
public JasperPrint exportLpRekapTidakan(String tglAwal, String tglAkhir, Integer idUnit, Integer idDokter, Integer idKp, Integer idProduk, String printBy) { public JasperPrint exportLpRekapTidakan(String tglAwal, String tglAkhir, Integer idUnit, Integer idDokter, Integer idKp, Integer idProduk, String printBy) {
log.info("Starting exportLpRekapTidakan with tglAwal: {}, tglAkhir: {}, idUnit: {}, idDokter: {}, idKp: {}, idProduk: {}, printBy: {}", tglAwal, tglAkhir, idUnit, idDokter, idKp, idProduk, printBy);
try { try {
SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd"); SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
Date parse = formatter.parse(tglAwal); Date parse = formatter.parse(tglAwal);
@ -435,14 +439,17 @@ public class ReportingService {
} }
public JasperPrint exportPdfSMPK(Integer smpk, String printBy) { public JasperPrint exportPdfSMPK(Integer smpk, String printBy) {
log.info("Starting exportPdfSMPK with smpk: {}, printBy: {}", smpk, printBy);
return this.reportingDao.exportPdfSMPK(smpk, printBy); return this.reportingDao.exportPdfSMPK(smpk, printBy);
} }
public JasperPrint exportPdfRekapLogbook(String tahun, String bulan, Integer ksm_id, Integer pegawai_id , String printBy) { public JasperPrint exportPdfRekapLogbook(String tahun, String bulan, Integer ksm_id, Integer pegawai_id, String printBy) {
log.info("Starting exportPdfRekapLogbook with tahun: {}, bulan: {}, ksm_id: {}, pegawai_id: {}, printBy: {}", tahun, bulan, ksm_id, pegawai_id, printBy);
return this.reportingDao.exportPdfRekapLogbook(tahun, bulan, ksm_id, pegawai_id, printBy); return this.reportingDao.exportPdfRekapLogbook(tahun, bulan, ksm_id, pegawai_id, printBy);
} }
public JasperPrint exportDOrderRadiologi(String tglAwal, String tglAkhir, String printBy) { public JasperPrint exportDOrderRadiologi(String tglAwal, String tglAkhir, String printBy) {
log.info("Starting exportDOrderRadiologi with tglAwal: {}, tglAkhir: {}, printBy: {}", tglAwal, tglAkhir, printBy);
try { try {
SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm"); SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm");
Timestamp parse = new Timestamp(formatter.parse(tglAwal).getTime()); Timestamp parse = new Timestamp(formatter.parse(tglAwal).getTime());
@ -455,6 +462,7 @@ public class ReportingService {
} }
public JasperPrint exportLpPendapatanPoli(String tglAwal, String tglAkhir, Integer IdDepartemen, Integer IdRuangan, Integer IdKelompokPasien, Integer IdDokter, String printBy) { public JasperPrint exportLpPendapatanPoli(String tglAwal, String tglAkhir, Integer IdDepartemen, Integer IdRuangan, Integer IdKelompokPasien, Integer IdDokter, String printBy) {
log.info("Starting exportLpPendapatanPoli with tglAwal: {}, tglAkhir: {}, IdDepartemen: {}, IdRuangan: {}, IdKelompokPasien: {}, IdDokter: {}, printBy: {}", tglAwal, tglAkhir, IdDepartemen, IdRuangan, IdKelompokPasien, IdDokter, printBy);
try { try {
SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm"); SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm");
Timestamp parse = new Timestamp(formatter.parse(tglAwal).getTime()); Timestamp parse = new Timestamp(formatter.parse(tglAwal).getTime());