up kembali
This commit is contained in:
parent
7364039a04
commit
741a0e783b
@ -1112,7 +1112,7 @@ public class ReportingDao {
|
|||||||
|
|
||||||
public JasperPrint exportKunjunganPasien(Date tglAwal, Date tglAkhir, Integer idRuangan, String printBy) {
|
public JasperPrint exportKunjunganPasien(Date tglAwal, Date tglAkhir, Integer idRuangan, String printBy) {
|
||||||
try (Connection conn = this.jdbcTemplate1.getDataSource().getConnection()) {
|
try (Connection conn = this.jdbcTemplate1.getDataSource().getConnection()) {
|
||||||
String path = jaspersim2DirPath + "visit.jrxml";
|
String path = jaspersim2DirPath + "kunjungan_pasien.jrxml";
|
||||||
JasperReport jasperReport = JasperCompileManager.compileReport(path);
|
JasperReport jasperReport = JasperCompileManager.compileReport(path);
|
||||||
Map<String, Object> parameters = new HashMap<>();
|
Map<String, Object> parameters = new HashMap<>();
|
||||||
parameters.put("tglAwal", tglAwal);
|
parameters.put("tglAwal", tglAwal);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user