update penerimaan kasir

This commit is contained in:
ridwan 2025-09-23 17:39:13 +07:00
parent deb1b00c16
commit 9ff1922594
3 changed files with 9 additions and 5 deletions

View File

@ -748,7 +748,7 @@ public class ReportingDao {
return null; return null;
} }
public JasperPrint exportPdfLapPenerimaanKasir(Date tglAwal, Date tglAkhir, Integer idDokter, Integer idRuangan , Integer idKasir, Integer kelompokPasien) { public JasperPrint exportPdfLapPenerimaanKasir(String tglAwal, String tglAkhir, Integer idDokter, Integer idRuangan , Integer idKasir, Integer kelompokPasien) {
try (Connection conn = this.jdbcTemplate1.getDataSource().getConnection()) { try (Connection conn = this.jdbcTemplate1.getDataSource().getConnection()) {
String path = jasperDirPath + "lapPenerimaanKasirH.jrxml"; String path = jasperDirPath + "lapPenerimaanKasirH.jrxml";
JasperReport jasperReport = JasperCompileManager.compileReport(path); JasperReport jasperReport = JasperCompileManager.compileReport(path);

View File

@ -204,8 +204,12 @@ public class ReportingService {
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) {
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 { 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);
@ -216,7 +220,7 @@ public class ReportingService {
return null; return null;
} }
} }*/
// //spk_awal // //spk_awal
// public JasperPrint exportPdfSKPULP(String norec){ // public JasperPrint exportPdfSKPULP(String norec){

View File

@ -23,8 +23,8 @@ spring.datasource.third.password=@S1mrs.3205@
# Pengaturan lainnya # Pengaturan lainnya
spring.mvc.dispatch-trace-request=true spring.mvc.dispatch-trace-request=true
spring.main.banner-mode=off spring.main.banner-mode=off
application.jasper-xml.dir-path=/mnt/files/jasper-xml/ application.jasper-xml.dir-path=D:\\UP\\
application.jasper-xml.dir-bintaro-path=/mnt/files/jasper-xml-bintaro/ application.jasper-xml.dir-bintaro-path=/mnt/files/jasper-xml-bintaro/
application.jasper-xml.dir-sim2-path=/mnt/files/jasper-xml-sim2/ application.jasper-xml.dir-sim2-path=D:\\UP\\
application.pdf.dir-sep=/mnt/files/sep/ application.pdf.dir-sep=/mnt/files/sep/
application.pdf.dir-lis=/mnt/lis/ application.pdf.dir-lis=/mnt/lis/